Re: [jQuery] Combining fade and slide

2006-08-19 Thread Klaus Hartl
John Resig schrieb: >> I like the above (it actually reminds me of scriptaculous) -- but I >> also like Klaus's chaining of .fadeTo() and .slideUp||Down(). Will the >> chaining ever work? I have used it in some existing code. > > I'm confused as to what you're asking - the chaining works righ

Re: [jQuery] Combining fade and slide

2006-08-19 Thread John Resig
> I like the above (it actually reminds me of scriptaculous) -- but I > also like Klaus's chaining of .fadeTo() and .slideUp||Down(). Will the > chaining ever work? I have used it in some existing code. I'm confused as to what you're asking - the chaining works right now. The "pre-compiled" ani

Re: [jQuery] Combining fade and slide

2006-08-19 Thread Brice Burgess
John Resig wrote: > Well, you can roll your own custom animation, like so: > > $("#foo").animate({ > height: 'show', > opacity: 'show' > }, 'slow'); > > The new .animate() function is incredibly flexible. > > --John > John, I like the above (it actually reminds me of scriptaculous) -

Re: [jQuery] date picker plugin update

2006-08-19 Thread Choan C. Gálvez
Hi Kelvin, As you've already made the calendar language configurable, it'd be nice to be able to choose the start day for the weeks (nobody in Spain would understand a Sunday based calendar). Cheers. -- Choan On 8/16/06, Kelvin Luck <[EMAIL PROTECTED]> wrote: > The latest version is here: >

Re: [jQuery] Using "." in id attributes confuses jQuery

2006-08-19 Thread Stephen Howard
I think i'm confusing things here. In addition to using dashes in class names and ids, I use them for custom property (attribute) names as well. specifically because I like to make my non-xhtml properties stand out, usually by prefixing them with the 'x-' prefix, similar to non-standard mime

Re: [jQuery] Using "." in id attributes confuses jQuery

2006-08-19 Thread John Resig
> > I actually use '-' myself, which doesn't conflict with CSS, but jQuery > > still doesn't like them because of the attr() function translates > > this-name into thisName. > > I always use '-' in my ids and classes. This is really bad. I think that > should be fixed! I'm really confused here - t

Re: [jQuery] Using "." in id attributes confuses jQuery

2006-08-19 Thread Klaus Hartl
Stephen Howard schrieb: > I actually use '-' myself, which doesn't conflict with CSS, but jQuery > still doesn't like them because of the attr() function translates > this-name into thisName. I always use '-' in my ids and classes. This is really bad. I think that should be fixed! -- Klaus

Re: [jQuery] Anyone explain why this won't work in Safari

2006-08-19 Thread Brian Wilkins
John, The svn version worked. Thanks for the help! Brian John Resig wrote: > Brian - > > This was a bug that was fixed in the latest SVN version of jQuery: > http://jquery.com/src/jquery-svn.js > > Try switching your code over to using that version of jQuery, because > it should work (I test

Re: [jQuery] Rebind events on dynamic content (modified DOM)

2006-08-19 Thread Michael Geary
> > > > From: Michael Geary > > > > $("#daysheader").load( "ajax/weekview_headers.aspx?fromdate=" + calendarDay.Date ); > > > > $("#days").load( > > > > "ajax/weekview_appointments.aspx?fromdate=" + calendarDay.Date, > > > > BindTimeSelectors() > > > > ); > > > From: Klaus Hartl > > >

Re: [jQuery] rev. 217: Bugfix in $.fn.serialize

2006-08-19 Thread Webunity | Gilles van den Hoven
Dave Methvin wrote: >> Although this fixes the bug, it is confusing to me when we sometimes >> need an "end" and sometimes not with the each() command. >> > > That can't be the correct permanent fix, though; something else is messing > up the object elsewhere. Looking at the $() constructor in

Re: [jQuery] Anyone explain why this won't work in Safari

2006-08-19 Thread John Resig
Brian - > Thanks for taking the time, but the bottom-right image still doesn't > change. It's weird because the left image works and the right doesn't. This was a bug that was fixed in the latest SVN version of jQuery: http://jquery.com/src/jquery-svn.js Try switching your code over to using tha

Re: [jQuery] rev. 217: Bugfix in $.fn.serialize

2006-08-19 Thread John Resig
> That can't be the correct permanent fix, though; something else is messing > up the object elsewhere. Looking at the $() constructor in SVN I see this: > > // Watch for when a jQuery object is passed at the context > if ( c && c.jquery ) return c.find(a); > > That would end up doi

Re: [jQuery] Combining fade and slide

2006-08-19 Thread John Resig
> But is this still not in docs? I guess I was expecting this method to be only used by Plugin developers - but in reality, it makes sense for regular users to use it too. I'll add it back in to the updated docs. --John ___ jQuery mailing list discuss@

Re: [jQuery] rev. 217: Bugfix in $.fn.serialize

2006-08-19 Thread Dave Methvin
> Anyway, long story short, i changed this: >a.push({name: n, value: this.value}); >}); > into >a.push({name: n, value: this.value}); >}).end(); > Although this fixes the bug, it is confusing to me when we sometimes > need an "end" and sometimes not with the each() command.

Re: [jQuery] Using "." in id attributes confuses jQuery

2006-08-19 Thread Stephen Howard
I actually use '-' myself, which doesn't conflict with CSS, but jQuery still doesn't like them because of the attr() function translates this-name into thisName. I think we're all just stuck with using [A-Za-z0-9_] for attribute and id names :) -Stephen John Resig wrote: > Hehe - it seems lik

Re: [jQuery] Anyone explain why this won't work in Safari

2006-08-19 Thread Brian Wilkins
Thanks for taking the time, but the bottom-right image still doesn't change. It's weird because the left image works and the right doesn't. Brian Karl Swedberg wrote: > On Aug 18, 2006, at 7:07 PM, Brian Wilkins wrote: > > > ...Try this instead: > $("div#leftcol").css({background:"#fff

Re: [jQuery] rev. 217: Bugfix in $.fn.serialize

2006-08-19 Thread Mike Alsup
On 8/19/06, Webunity | Gilles van den Hoven <[EMAIL PROTECTED]> wrote: > @John, please read since the "each" function could still contain a bug > (see bottom 2 lines) Thanks, Gilles. It works just fine with my form test. And thanks John, for fixing bug #110! Mike _

Re: [jQuery] Combining fade and slide

2006-08-19 Thread Realazy XA Chen
Cl, I got it.But is this  still not in docs?2006/8/19, Klaus Hartl <[EMAIL PROTECTED]>: John, could you please stop making jQuery better and better andbetter... ;-)John Resig rocked:> Well, you can roll your own custom animation, like so:>> $("#foo").animate({ > height: 'show',> opacity

Re: [jQuery] Documenting plugins

2006-08-19 Thread christian . bach
This is a great idea, we could tweak John's tool for generating scriptDocs and build it using ant. Making it less complex, and sutible for documenting plugins. /christian - Meddelande från [EMAIL PROTECTED] - Datum: Fri, 18 Aug 2006 13:44:22 +0100 Från: Sam Collett <[EMAIL PR

[jQuery] rev. 217: Bugfix in $.fn.serialize

2006-08-19 Thread Webunity | Gilles van den Hoven
@John, please read since the "each" function could still contain a bug (see bottom 2 lines) Hi guys, I've just committed a bug fix to the form plugin. As you might have seen, I noticed that i somehow got an fieldset element instead of a form element in the $.fn.ajaxSubmit function. By doing a

Re: [jQuery] Problem with ajax+IE

2006-08-19 Thread Mohsen Saboorian
Although " var div = $('.tableParent', xml).get(0);" works in FF, IE gives error on this line of jQuery: return new RegExp("(^|\\s)" + a + "(\\s|$)").test(e); On 8/19/06, Mohsen Saboorian <[EMAIL PROTECTED]> wrote: > Hi buddies, > I have some problems running ajax in IE, the same code works great

Re: [jQuery] Combining fade and slide

2006-08-19 Thread Klaus Hartl
John, could you please stop making jQuery better and better and better... ;-) John Resig rocked: > Well, you can roll your own custom animation, like so: > > $("#foo").animate({ > height: 'show', > opacity: 'show' > }, 'slow'); > > The new .animate() function is incredibly flexible.

[jQuery] Problem with ajax+IE

2006-08-19 Thread Mohsen Saboorian
Hi buddies, I have some problems running ajax in IE, the same code works great in mozilla firefox. my code is something like this : $.ajax({ url: ''http://myUrl'), type: "GET", error: function() {alert('ee');}, success: function(http) {

Re: [jQuery] date picker plugin update

2006-08-19 Thread Sam Collett
On 19/08/06, Justin Carter <[EMAIL PROTECTED]> wrote: > On 8/18/06, Dave Methvin <[EMAIL PROTECTED]> wrote: > > Picking and validating are separate operations. I know my birthday and can > > type it faster than I can pick it. Pickers are useful when you know you want > > a Friday in September but d

Re: [jQuery] Is there a simple way to break out of.each(function(){....});

2006-08-19 Thread Sam Collett
On 18/08/06, Stephen Howard <[EMAIL PROTECTED]> wrote: > Yeah, I had suggested returning an explicit false from your each > function should short circuit. It was an easy add to the jquery source > too, but I believe jq 1.0 is in feature freeze at the moment. > > -Stephen > I use return to continu