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 for what can be a large list > - and I'm hearing reports that a list of 100 items with 4-5 columns each is > causeing IE7 to slow down or appear to freeze for a while, and commenting > out the cluetip invocation clears it up. I'm assuming it's jsut due to > poor javascript speed as it loops over all the DOM to activate all the > required DOM elements. > > Right now, I'm invoking them all with one command that uses a class to pick > them up: > > $('.HelpTipAnchor').cluetip({local:true, cluezIndex: 105, showTitle: > false,cluetipClass: 'maia', arrows: true, localPrefix: "#cluetip_", > attribute: "id"}); > > Is it the $('.class') part that's slow, as I suspect? Is there anything I > can do to speed it up? > > -- > David Morton > morto...@gmail.com - bulk address > morto...@dgrmm.net - direct to my server