[jQuery] Re: Cluetip speed question

2008-12-20 Thread David Morton
On Tue, Dec 16, 2008 at 6:26 PM, Michael Geary m...@mg.to wrote: http://osdir.com/answers/javascript/2618-jquery-optimizing-easiest-tooltip.html#2 Maybe you could use this code as a start for a custom tooltip plugin? Thanks for that link, I did manage to modify the simpletip.js library

[jQuery] Re: Cluetip speed question

2008-12-20 Thread Karl Swedberg
Hi David, I wrote both cluetip and simpletip. sorry cluetip didn't work out for you, but happy to see that you were able to use simpletip. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 20, 2008, at 4:25 PM, David Morton wrote: On Tue, Dec 16,

[jQuery] Re: Cluetip speed question

2008-12-16 Thread Kean
You most probably guess right on the CSS selector speed. Here's a link to read on CSS selector optimization. http://www.thegrubbsian.com/2008/10/optimize-jquery-selector-performance.html On Dec 16, 2:17 pm, David Morton morto...@gmail.com wrote: I am trying to use Cluetip to make a help text

[jQuery] Re: Cluetip speed question

2008-12-16 Thread Michael Geary
The $('.HelpTipAnchor') is certainly time-consuming, but after that's done, the cluetip plugin still has to loop over all those elements and set up a lot of stuff. My guess is that the latter is where most of the time is going. It's easy enough to find out which: simply split apart the selector

[jQuery] Re: Cluetip speed question

2008-12-16 Thread David Morton
On Tue, Dec 16, 2008 at 6:26 PM, Michael Geary m...@mg.to wrote: alert( 'Selector: ' + (t2-t1) + ', cluetip(): ' + (t3-t2) ); That came out to: 177, 3387 for 1708 tips, so cluetip certainly has a huge chunk of it.