Part of the problem (the flickering cursor) is due to IE doing it's
cache checks on changes in background images. To fix that put this at
the top of one of your jQuery scripts:

if ( $.browser.msie )
document.execCommand("BackgroundImageCache", false, true)

Karl Rudd

On 6/5/07, devsteff <[EMAIL PROTECTED]> wrote:

Hi jQuery community,


I've written a complex jQuery table plugin wich supports different
selection models (single, multiple, exclusive), nested/hierarchical
tables (like a tree) etc.
Everything works well, but now - while the application goes testing by
some clients - I stumbled by an very ugly performance issue in IE. The
problem appers only on IE machines - very remarkable on slower lowend
hardware. Anyway FF and Mozilla is fine at all.

For an easier problem tracking I've extracted the problematic code
from the plugin and provide a simple test example with the embedded
plugin code. Please follow the next steps and try to retrace the
problem.

  * Load the the test page from http://members.inode.at/396869/jq/
into your browser
  * Try moving the mouse (quick) over the table and watch the
performance
     (highlight row follows mouse) and the mouse pointer type is
usually the pointer
  * Now click ***somewhere*** in the page - doesn't matter if on the
table or on the body background!
  * Try moving the mouse over the table again and watch the
performance and the mouse pointer now...

Recognize it?
The highligtning is now very bumpy und the mouse pointer toggles
rapidly between the hour glass
and the pointer.

There is NO event registration by my plugin on the page nether on the
background.
What happens after clicking on the page? What is the reason for the
slow down of the browser? What kind of code is executing after the
click? I don't have any idea... Is it a jQuery, a IE browser or a
plugin problem?

My config Thinkpad T60,Windows XP SP2, IE6.0.2900.2180.xpsp.
050928-1517. As jQuery version i used 1.1.2 and the latest 1.1.3b.
Same effekt. The length of the table is not an issue. Effekt also
happens with 10 rows...

Thanks in advance for any hint,

Stefan Flick


Reply via email to