Thanks, Glen.

 

The code is working well in FF2, fairly well in IE7.

 

I say fairly well, because when I click a "table" once, the div

opens properly.  When I click the "table" a second time,

the details div closes properly once, then flashes open and

closed very quickly.  But again, this is not happening in FF2.

 

Now here's something else that's peculiar.  If I click the "table"

to close a detail div quickly after opening, it closes then flashes

open and closed again.  However, if I wait a few seconds after

opening the details div, then click to close, it closes normally.

 

What's up with that?

 

Here's the current code. see anything wrong?

 

Thanks,

 

Rick

 

                $(document).ready(function(){

                

                                
$('div.calendar').find('div.details').hide().end(); 

 

                                $("table.clickme").click(function(){

                                

                                                var target = 
$(this).next('div.details')

 
$("div.details:visible").not(target).slideUp();

                                                                
target.slideToggle();

                                                                

                                });

                                

                });

 

 

 

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Glen 
Lipka
Sent: Monday, October 22, 2007 8:02 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: How would I modify this code to...

 

Ahh, I forgot to test that.
It's fixed now.  refresh.

Glen

 

Reply via email to