Your demo works perfectly. but like you said, it's simpler HTML than my tables and div's, so it's probably related to that.
I'll check into that and see what I can do. I appreciate your help! Rick From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Glen Lipka Sent: Tuesday, October 23, 2007 12:36 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: How would I modify this code to... Does my demo do the bad behavior you are describing? It seems to work right for me in different browsers. Without seeing your html then it's kind of hard to debug. I gave a working demo, doing exactly what you described. Not sure what more I could say. My first guess is that there is a problem with your html. Does it validate? Try to simplify it. Strip it down the bare essentials and show the problem with the minimal amount of stuff on the page. It's probably related to something else on the page. I hope this helps, Glen On 10/22/07, Rick Faircloth <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: 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: <mailto:jquery-en@googlegroups.com> [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