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
$("table.clickme").click(function(){
>
>
>
> var target =
> $(this).next('div.details')
>
> $("
> div.details:visible").not(target).slideUp();
>
>
&g
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
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
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
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:
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...
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
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
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
10 matches
Mail list logo