On 17/09/06, Gordon Heydon <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Drupal's E-Commerce is going to be implementing a AJAX shopping cart
> using jquery for the next release.
>
> However it is a pity that the interface plugin isn't released under GPL
> as it means that I can't add it to the E-Commerce C
John Resig wrote:
>> I do not know, but is the interface author going to follow the same path
>> as jQuery and dual license. I would make it easy for the Drupal module
>> developers to include this into Drupal. (This would also be the same for
>> other plugins)
>>
>
> I talked with Stefan, he
Hi,
John Resig wrote:
>> I do not know, but is the interface author going to follow the same path
>> as jQuery and dual license. I would make it easy for the Drupal module
>> developers to include this into Drupal. (This would also be the same for
>> other plugins)
>
> I talked with Stefan, he wi
> I do not know, but is the interface author going to follow the same path
> as jQuery and dual license. I would make it easy for the Drupal module
> developers to include this into Drupal. (This would also be the same for
> other plugins)
I talked with Stefan, he will be switching Interface to a
Hi,
Drupal's E-Commerce is going to be implementing a AJAX shopping cart
using jquery for the next release.
However it is a pity that the interface plugin isn't released under GPL
as it means that I can't add it to the E-Commerce CVS, so it will be a
little bit fiddly to install.
I do not kno
Thanks John,
Yep, I know that Interface has DnD but if you take a glance at my email
again, the bigger task is the dynamic creation of the form fields that
need to be created upon the dropping of an item or by clicking the
"Add" link.
If I drop an item record into the cart container, I need t
On Sep 16, 2006, at 8:48 PM, John Resig wrote:
> Maybe something like this?
>
> function swap_letter() {
> var firstP = $('#main-content p:first-child')[0];
> var text = firstP.innerHTML;
>
> if ( text ) {
> firstP.innerHTML = text.slice(1).
> $('')
> .src('/images/alphabet/'
I guess you haven't seen Interface yet -
http://interface.eyecon.ro/
It has everything you need to build a full DnD UI.
--John
On 9/16/06, Rey Bango <[EMAIL PROTECTED]> wrote:
> Does anyone have any shopping cart code that use JQuery that I could use
> for one of my projects? This is for a back-
Anyone?
Rey Bango wrote:
> Does anyone have any shopping cart code that use JQuery that I could use
> for one of my projects? This is for a back-end phone order page and for
> internal customer service reps.
>
> The reps would be able to search for a product and either DnD the item
> into the c
On 9/17/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> don't ever do browser sniffing if you want actually do object detection.
> furthermore I wouldn't automatically assume that there is
> document.documentElement (IE in Standards Mode only!)...
>
>
> My proposal:
>
> $.clientCoords = function() {
>
Klaus Hartl schrieb:
>> Perhaps an option to define a date object for expires as well?
>>
>> var myDate = new Date();
>> myDate.setTime(myDate.getTime() + 30 * 60 * 60 * 1000);
>> $.cookie('username', 'fred', {expires: myDate});
>
> Sam,
>
> sounds reasonable to me. I will add that.
Updated th
Maybe something like this?
function swap_letter() {
var firstP = $('#main-content p:first-child')[0];
var text = firstP.innerHTML;
if ( text ) {
firstP.innerHTML = text.slice(1).
$('')
.src('/images/alphabet/' + text[0].toLowerCase() + '.gif')
.addClass('fancy-letter
Will,
Did you contact Cody about adding some of the features to ThickBox? I
like the transitions between images and the next/previous buttons, but
you're missing some great features from ThickBox.
For instance, I'd like to see you add ThickBox's support of
'rel="group_name"' to automaticall
Hi folks,I'm trying to convert a little drop cap thing that I had done in DOM scripting to jQuery. Adding the drop cap image has been incredibly easy, but I'm stumped on how to remove the single letter of text that the image is replacing. I'm sure this is really simple, but I'm just not getting it,
Thanks a lot You're right
now I'm trying to retrive the name of the current field but "this" seem
to be nothing e.g "{}"
Any thoughts ?
$.fn.checkform = function() {
this.bind("click", function(){
msg='';
$("input.check_empty").eac
> > $.fn.checkform = function() {
> > $(this).bind("click", function(){alert("it works");} );
> > };
> >
> > What am I doing wrong ?
> Ok I got it:
>
> $.fn.checkform = function() {
>return this.each(function(){
> $(this).bind("click", function(){alert("it works"
> Perhaps an option to define a date object for expires as well?
>
> var myDate = new Date();
> myDate.setTime(myDate.getTime() + 30 * 60 * 60 * 1000);
> $.cookie('username', 'fred', {expires: myDate});
Sam,
sounds reasonable to me. I will add that.
-- Klaus
On 16/09/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I made a cookie plugin and added it to SVN. Contrary to my latest mail
> regarding this I made the plugin in a more jQuery style, there's only
> one basic $.cookie function.
>
> Read a cookie: $.cookie('the_cookie');
>
> Set a cookie
Or also, dunno why i didnt think of this, just use this:.mousein(function() {//do stuff});duh...On 9/16/06, Rafael Santos <
[EMAIL PROTECTED]> wrote:luv ya =)
2006/9/16, Matt Stith <[EMAIL PROTECTED]>:
.hover(1,2) is the same thing as.hover(1).mouseout(2)the 2nd argument of hover is what to do on
luv ya =)2006/9/16, Matt Stith <[EMAIL PROTECTED]>:
.hover(1,2) is the same thing as.hover(1).mouseout(2)the 2nd argument of hover is what to do on mouseOut. If you still dont want that, then you could just do this.hover(function(){//do stuff
},function(){});On 9/16/06, Klaus Hartl <
[EMAIL PROTEC
try http://www.visualjquery.com/That site is much better and prettier to look through :)On 9/16/06, Rafael Santos
<[EMAIL PROTECTED]> wrote:
hmm thx... =)i was trying to look for documentation @ jquery.com But it was kind of down...
2006/9/16, Klaus Hartl <
[EMAIL PROTECTED]>:Matt Stith schrieb:
>
.hover(1,2) is the same thing as.hover(1).mouseout(2)the 2nd argument of hover is what to do on mouseOut. If you still dont want that, then you could just do this.hover(function(){//do stuff
},function(){});On 9/16/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:
Matt Stith schrieb:> I beat you to it ;)H
hmm thx... =)i was trying to look for documentation @ jquery.com But it was kind of down...2006/9/16, Klaus Hartl <
[EMAIL PROTECTED]>:Matt Stith schrieb:> I beat you to it ;)
Haha, to letting hover take one argument? Because I just wanted topropose that if hover has only one argument than it shoul
Matt Stith schrieb:
> I beat you to it ;)
Haha, to letting hover take one argument? Because I just wanted to
propose that if hover has only one argument than it should use this
function for over and out...
Not sure if thats really useful.
-- Klaus
_
> Delete a cookie: $.cookie('name', '', -1);
Sorry, another ups. This should read:
$.cookie('name', '', {expires: -1});
Sorry, Klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Ok I got it:
$.fn.checkform = function() {
return this.each(function(){
$(this).bind("click", function(){alert("it works");} );
});
};
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I beat you to it ;)On 9/16/06, John Resig <[EMAIL PROTECTED]> wrote:
That's because you didn't pass a second argument in to .hover()$("#menu li a") .hover(function(){ $(this).parent().background("red"); }, function(){ $(this).parent().background("black");
});--JohnOn 9/16/06, Rafael S
You have to supply an out functions. hover takes 2 parameters, in and out, like this: .hover(in, out);You dont have an out function, so jquery is trying to call a function that doesnt exist.
On 9/16/06, Rafael Santos <[EMAIL PROTECTED]> wrote:
Here are the lines.after I move the cursor out of i ge
ups, should read:
$.cookie('the_cookie', 'the_value', {expires: 7, path: '/', domain:
'jquery.com', secure: true});
btw, expires is the number of days until expiration...
-- Klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss
That's because you didn't pass a second argument in to .hover()
$("#menu li a")
.hover(function(){
$(this).parent().background("red");
}, function(){
$(this).parent().background("black");
});
--John
On 9/16/06, Rafael Santos <[EMAIL PROTECTED]> wrote:
> Here are the lines.
> af
hi
I'm starting with jquery and I want i a plugin to be bound to an event :
$(document).ready(function(){
$("[EMAIL PROTECTED]'submit']").checkform();
});
my plugin:
$.fn.checkform = function() {
$(this).bind("click", function(){alert("it works");} );
};
Awesome Klaus!!! haha. And to think people actually questioned why I
wanted some like this. hehe.
Thanks for taking the ball bud.
Rey...
Klaus Hartl wrote:
> Hi all,
>
> I made a cookie plugin and added it to SVN. Contrary to my latest mail
> regarding this I made the plugin in a more jQuery s
In IE if there are no borders the innerWidth and innerHeight functions
will cause a NaN result. I went ahead and created a bug report with
the solution [1].
BTW ... I tried to attach the diff but it just errored out. Any chance
of getting the trac fixed so that it is easier to include patches,
exa
Klaus ,
Very sweet.
Will
> Hi all,
>
> I made a cookie plugin and added it to SVN. Contrary to my latest mail
> regarding this I made the plugin in a more jQuery style, there's only
> one basic $.cookie function.
>
> Read a cookie: $.cookie('the_cookie');
>
> Set a cookie: $.cookie('the_cookie'
Hi all,
I made a cookie plugin and added it to SVN. Contrary to my latest mail
regarding this I made the plugin in a more jQuery style, there's only
one basic $.cookie function.
Read a cookie: $.cookie('the_cookie');
Set a cookie: $.cookie('the_cookie', 'the_value');
Set a cookie with all ava
Here are the lines.after I move the cursor out of i get the error: "g has no properties"$(document).ready( function(){ $("#menu li a").hover( function(){ $(this).parent().background("red"); });
//$("#menu li a").mouseout( function(){ $(this).parent().background("black"); });});/
Does anyone have any shopping cart code that use JQuery that I could use
for one of my projects? This is for a back-end phone order page and for
internal customer service reps.
The reps would be able to search for a product and either DnD the item
into the cart or click on an icon that will add
> this works, but it's too much code, I would dream of having a one-liner:
>
> $('[EMAIL PROTECTED]').after(' ['+this.hreflang+']');
>
> It doesn't work (or, not this way), because 'this' is not the current DOM
> node, but the HTMLDocument itself.
That is correct. The only other option would be
> >It works fine in FF here. In IE too, though its a bit slow. Opera lets
> >the tooltips flicker like hell, when hovering the icons.
> >
> what you have seen in Opera happens in FF too (sometimes) :-(
Hmm.. I can't seem to duplicate it in Firefox either.
(btw - Nice to see you using jQuery, Aras
Great work Jörn,
I see the eventTesting bug - related to .load(Function). I'll add that
to the pile :-) Thanks.
I suspect that we could probably even optomize the tests further, by
including all the tests directly in the HTML file itself (or even
running the tests using an XSLT file). But that's
Hi,
I'm making the hreflang attribute visible ; css would be :
a[hreflang]:after {
content: "\a0[" attr(hreflang) "]";
}
but it doesn't work on MSIE, so I try the jQuery way:
$('[EMAIL PROTECTED]').each(function(){
$(this).after(
' ['+this.hreflang+']'
);
});
this
Hi Jörn,
Jörn Zaefferer schrieb:
>It works fine in FF here. In IE too, though its a bit slow. Opera lets
>the tooltips flicker like hell, when hovering the icons.
>
>
what you have seen in Opera happens in FF too (sometimes) :-(
Cheers, Arash
___
jQ
Arash Yalpani schrieb:
> Anyone having similar problems? Any ideas?
>
It works fine in FF here. In IE too, though its a bit slow. Opera lets
the tooltips flicker like hell, when hovering the icons.
-- Jörn
___
jQuery mailing list
discuss@jquery.com
Stefan Petre schrieb:
> 15 wrap(String) (1, 2, 3)
> 3 Died on test #3: [Exception... "Node cannot be inserted at the
> specified point in the hierarchy" code: "3" nsresult: "0x80530003
> (NS_ERROR_DOM_HIERARCHY_REQUEST_ERR)" location:
> "http://joern.jquery.com/dist/jquery.js Line: 626"]
>
> 34
Hi all,
I have a strange problem with jTip. On this page, you can see some
yellow "?"-symbols:
http://newsride.org/users/arash/
When you mouseover them, jTip should open up and show a message
downloaded from the server. Sometimes - NOT always - when opening the
page in Firefox, the jTip-Layer
Interface does not alter function like fadeIn/out, animate. Alter the fx
function used like myfx = new fx();
Brandon Aaron wrote:
> I would like to animate {opacity: 'toggle'} but with the transitions
> provided by the Interface plugin. I've looked but I don't see where
> Interface overwrites th
Patrick Hall schrieb:
> Hi,
>
> Not sure if this is related to your refactoring but there's a missing
> backslash on the end of line 13 in the Makefile:
>
> 12 ${SRC_DIR}/fx/*\
> 13 ${SRC_DIR}/ajax/* ← right there
> 14 ${SRC_DIR}/outro.js\
>
Yes, that was r
don't ever do browser sniffing if you want actually do object detection.
furthermore I wouldn't automatically assume that there is
document.documentElement (IE in Standards Mode only!)...
My proposal:
$.clientCoords = function() {
var dimensions = {width: 0, height: 0};
if (document.
Hi,
Not sure if this is related to your refactoring but there's a missing
backslash on the end of line 13 in the Makefile:
12 ${SRC_DIR}/fx/*\
13 ${SRC_DIR}/ajax/* ← right there
14 ${SRC_DIR}/outro.js\
Also, I can't seem to get the tests to run. After the p
FYI:
Tests completed in 6281 milliseconds. - Much faster!!!
6 tests of 188 failed.
Win XP SP2 FF 1.5.0.7:
15.3: Died on test #3: [Exception... "Node cannot be inserted at the
specified point in the hierarchy" code: "3" nsresult: "0x80530003
(NS_ERROR_DOM_HIERARCHY_REQUEST_ERR)" location:
"
I would like to animate {opacity: 'toggle'} but with the transitions
provided by the Interface plugin. I've looked but I don't see where
Interface overwrites the animate function as well as the fx part. I
also was not able to find a fadeIn/Out/Toggle in Interface. Am I
looking in the wrong places?
Well, at least it works on 2% (+/-2%) of all web browsers! :)
I really like the idea behind it!
Fil wrote:
>
>> Doesnt seem to do anything for me on FF/Win
>
> Yes. It does transform the box on Safari, and leaves it as usual on other
> browsers (except it empties the field at the first focus
Jörn Zaefferer wrote:
Forgot to post a link: http://joern.jquery.com/test/
Check it out :-)
-- Jörn
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Win XP SP2 IE 6
15 wrap(String) (1,
2, 3)
3 Died
on test #3: [Exceptio
Forgot to post a link: http://joern.jquery.com/test/
Check it out :-)
-- Jörn
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hi folks,
just commited a big refactoring to the test suite. All tests are now
compiled to one file. The testsuite should therefore run up to three
times faster. For anyone building jQuery via the Makefile: Please check
if it works as expected, I currently can't test it here.
I'm thinking about
Stefan Petre wrote:
> I fixed this. Try again to download Interface.
>
hi Stefan,
same error, I've downloaded custom interface.js with latest safari and
ff 1.5.0.7 mac.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
On 9/16/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> limodou schrieb:
> > I want to implement center() effect, but I don't know how to get the
> > correct widht and height of the browser client. I googled and found
> > that in (FF) I should use windows.innerHeight and window.innerWidth,
> > but
limodou schrieb:
> I want to implement center() effect, but I don't know how to get the
> correct widht and height of the browser client. I googled and found
> that in (FF) I should use windows.innerHeight and window.innerWidth,
> but in msie I could use document.documentElement.clientWidth and
> d
On 9/16/06, limodou <[EMAIL PROTECTED]> wrote:
> I want to implement center() effect, but I don't know how to get the
> correct widht and height of the browser client. I googled and found
> that in (FF) I should use windows.innerHeight and window.innerWidth,
> but in msie I could use document.docum
I want to implement center() effect, but I don't know how to get the
correct widht and height of the browser client. I googled and found
that in (FF) I should use windows.innerHeight and window.innerWidth,
but in msie I could use document.documentElement.clientWidth and
document.documentElement.cli
Klaus Hartl schrieb:
> you can see it in action (and the difference) here now, just click on a
> thumbnail in the pictures section or in photos nearby and scroll the page...
>
Very nice. The fixed center position allows much smoother scrolling :-)
One small proposal: For better keyboard navigat
> Here's a test page that gives me that error:
>
> http://ruphus.com/code/jquery/easydom.html
The DOM creation code in $.create is using the old .cur property in the
jQuery object. I think it needs to be updated to handle the result array the
same way that jQuery does now.
-Mike
__
On 9/16/06, John Resig <[EMAIL PROTECTED]> wrote:
> Same error with EasyDOM? Or same error while using jQuery?
When using EasyDOM and jQuery.
Here's a test page that gives me that error:
http://ruphus.com/code/jquery/easydom.html
-p@
--
ᗷɭoℊẚᗰսɳᑯѲ⁈⁈⁈
_
> I've gotten the same error with this. Would be very interested if
> anyone had a lead.
Same error with EasyDOM? Or same error while using jQuery?
--John
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
64 matches
Mail list logo