[jQuery] jQuery(a/) issue in 1.1.4

2007-09-03 Thread devsteff

Hi folks,

I figured out a problem in the brand new 1.1.4 version with IE 6+ wich
breaks my existing code.
In firefox 1.5+ everything is fine, didn't test any other browsers.

I create a couple of dynamic html element with the html(some html
code) function.

The following codesnipplet results under 1.1.4 (IE only) in an null
and under 1.1.3.1 and older in an empty a-tag.
 
1.1.3.1 1.1.4
jQuery(a/).html()JQ object JQ object
jQuery(a/).size() 1   0
jQuery(a/).html()   null

jQuery(a /).html() is the same as above, while

jQuery(a/a).html() is fine. this is my momentary work around.

Is XHTML syntax not longer supported in the html() function or is this
a bug?

Regards, stefan



[jQuery] Re: Weird IE behavior - need help

2007-06-11 Thread devsteff

thanks again,

the thing with the each-scoped functions was really new to me. I'm
really waiting for johns book :)
the reason for the jquery unlike class string manipulation was the
weired behavior and my thought that multiple css changes can produce
the slowdown effect. i will change it back to the addClass...
removeClass... functions soon, because my solution is only
unrecognizable nanosecs faster. the setTimeout trick did the real
magic...

stefan flick




[jQuery] Weird IE behavior - need help

2007-06-05 Thread devsteff

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



[jQuery] Re: Weird IE behavior - need help

2007-06-05 Thread devsteff

wow thanks! the mouse cursor flickering is gone.
but why is the cache checking activatetd AFTER the first click on the
page? where can i find some more information of
document.execCommand(...) do you have a link? i found some
but, the bumpy slow motion tracking still ruins my nerves...



On Jun 5, 3:36 pm, Karl Rudd [EMAIL PROTECTED] wrote:
 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: