By derjochenmeyer on
I have a very simple script to trigger a mouseover event. It shows and hides a single info text on my page. When i view a page in firefox it takes the script 1 second to do the mouseover. IE6 does it instantly.
The script becomes slower, the bigger the source code of my page gets.
drupal_add_js('
$(document).ready(function(){
$("#headerinfo").hover(function(){
$("#headerinfo_text").show();
},function(){
$("#headerinfo_text").hide();
});
});
',inline);
Comments
Its strange. I had a table
Its strange. I had a table like listing of nodes but i did it with
<div>and css floats.Now i use a true
<table>structure and it works perfectly. jQuery seems to have a performance problem with too many divs in the DOM? But why only in Firefox. Very strange.----------------------
okay.cool
it is possible slowing dow
it is possible slowing down because of firebug (http://groups.google.com/group/jquery-dev/browse_thread/thread/f2926d95f...)