[jQuery] Re: How would I modify this code to...

2007-10-23 Thread Rick Faircloth
D] 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

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Glen Lipka
$("table.clickme").click(function(){ > > > > var target = > $(this).next('div.details') > > $(" > div.details:visible").not(target).slideUp(); > > &g

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Rick Faircloth
ilto:[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

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Glen Lipka
this > > technique later on, but haven't, yet. > > > > Anything you'd like for me to try? > > > > Rick > > > > > > > > *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Glen Lipka > *Sent:* Monday, October

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Rick Faircloth
CTED] On Behalf Of Glen Lipka Sent: Monday, October 22, 2007 3:33 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: How would I modify this code to... Could you post a URL of the page? Easier to debug that way. Glen On 10/22/07, Rick Faircloth < [EMAIL PROTECTED] <mailto:[EMAIL

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Glen Lipka
e of the "div.details"? > > > > "if div.details is open, then close, > > else open…" ??? > > > > Rick > > > > > > > > *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Glen Lipka > *Sent:

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Rick Faircloth
e open/closed state of the "div.details"? "if div.details is open, then close, else open." ??? Rick From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Glen Lipka Sent: Monday, October 22, 2007 12:22 PM To: jquery-en@googlegr

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Rick Faircloth
jQuery] Re: How would I modify this code to... I whipped up a demo. http://www.commadot.com/jquery/faq.php Is this the kind of thing you were looking for? Glen On 10/22/07, Rick Faircloth < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: .cause any open details div to clo

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Glen Lipka
I whipped up a demo. http://www.commadot.com/jquery/faq.php Is this the kind of thing you were looking for? Glen On 10/22/07, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > …cause any open details div to close when another details div opens? > > $(document).ready(function() { > > $('div.calendar

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Glen Lipka
One thing to look at is the toggle() function. It will open if closed and close if opened. No need for the IF statement. Also, you can animate a DIV inside a row smoothly, you don't need the whole table. To make it so that only one answer is open at any time, in the past, I have just closed them