Mac test : it works fine on Safari 3.0.4 and still not work on FF 2.0.0.10.
On 27 nov, 18:49, dehneg <[EMAIL PROTECTED]> wrote: > Hi Suni, > > I am disappointed. > The results of your tests show clearly that there is a problem with my > code/environment. > > I have put my full html/js code at the end of this mail. As you can > see it is minimal. > I have made new tests with the jQuery nightly build without > improvement. > I have tested my code with FF 2.0.0.10, Gnome Epiphany 2.20.1 and > Opera 9.24 also without improvement. > I have tried with the simple click event. This works fine but > performing a double click freeze FF and Epiphany with 3500 span > elements even when just the simple click event is bind. > > Have an other idea ? > > This is my code as you can see there is nothing special in it : > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/ > TR/html4/strict.dtd"> > <html> > <head> > <meta http-equiv="Content-Type" content="text/html; > charset=iso-8859-1" /> > <title>Align</title> > <script type="text/javascript" src="lib/jquery/jquery.js"></script> > <script type="text/javascript" > > $(document).ready(function() { > $('.bioNumUnit').dblclick(function(event){ > $('body').append('<div>dblclick on ' + > event.target.id + '</div>');}); > } > ); > </script> > </head> > <body> > > <div class="bioNumUnit"> > <span class="siteSelector" id="s1">1</span> ... > </div> > > </body> > </html> > > On 27 nov, 15:49, Suni <[EMAIL PROTECTED]> wrote: > > > I tested your code (FF and IE) with up to 5000 span-elements and could > > not reproduce the issue. The message was appended every time > > immediately. > > > There is propable something else in the page distracting the process. > > Please note that when you doubleclick the normal click-event gets also > > processed (before the doubleclick). If you have bound some heavy stuff > > to happen on normal click, that gets executed every time you > > doubleclick