[jQuery] best practice using jquery.ajax

2007-01-17 Thread byan
dear all, i'm using $(elm).load(url, function() {...}) to insert new content, but i found this cost me extra 3-5 times than using standar ajax methods, and then insert responseText to elm using innerHTML. inserting simple content, using standard ajax cost me 0.2s but using jquery cost me 1.1s

Re: [jQuery] Safari/IE not working at all

2007-01-17 Thread Ⓙⓐⓚⓔ
all the words look good, but that trailing comma I noticed a while back that firefox permits it... safari doesn't like it. On 1/17/07, Kenneth Love [EMAIL PROTECTED] wrote: Hey all. I have a bit of JQuery magic that works great in Firefox, but not in Safari or IE at all. Here's the code:

Re: [jQuery] best practice using jquery.ajax

2007-01-17 Thread Blair McKenzie
What kinds of select strings are you using ( $(in here) ). This can have a big impact on speed. Blair On 1/18/07, byan [EMAIL PROTECTED] wrote: dear all, i'm using $(elm).load(url, function() {...}) to insert new content, but i found this cost me extra 3-5 times than using standar ajax

Re: [jQuery] fadeOut text

2007-01-17 Thread Blair McKenzie
The jQuery ajax methods take callbacks which are run when the data is recieved/loaded, so: $(...).load(url,params,function(){ $('.notify',this).fadeOut('slow'); // '.notify',this, looks for .notify elements inside the element being updated }); Blair On 1/17/07, Vaska [EMAIL PROTECTED] wrote:

Re: [jQuery] Safari/IE not working at all

2007-01-17 Thread Kenneth Love
Jake: Thanks a lot, that worked great for Safari. Everything is now hidden in IE, though, and clicking doesn't show it. Any ideas there? On 1/17/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: all the words look good, but that trailing comma I noticed a while back that firefox permits it... safari

Re: [jQuery] best practice using jquery.ajax

2007-01-17 Thread Blair McKenzie
Actually, using an id is as good as it gets. Sorry, that's the only thing I could think of that would effect the speed so much. Blair On 1/18/07, byan [EMAIL PROTECTED] wrote: i have page like this body div id=cleft/div div id=cmain/div div id=cright/div /body new content always fetch into

Re: [jQuery] [PLUGIN] Interface.Draggable zIndex ignored

2007-01-17 Thread Stefan Petre
j. siefer wrote: -- .Draggable({ zIndex:1000, ghosting:true, opacity:0.5, containment:[_dtP.left,_dtP.top,_dtP.w,_dtP.h], insideParent:true }) --- Hi, i have

<    1   2