If only one can be open at a time, then store its top level ID.  When a new
one is opened, close the existing one, open the new one and then update the
stored ID value.

On 3/28/07, Andy Matthews <[EMAIL PROTECTED]> wrote:

 I've got a series of rows of data, some of which can be expanded to show
additional information. I'd like to hide any open row before showing a new
one. I've tried hiding all of them (or sliding up) but the display goes
wonky because most of them are NOT open.

This is what a row looks like:
<div id="specials-123456-details" class="hidden"></div>
or
 <div id="newInv-997845-details" class="hidden"></div>

I'm using slideToggle to open the row:
$(child).html(data).slideToggle("fast");

and I've tried hiding them like so:
$('.hidden').slideUp();

and

$('.hidden').hide();

So I'm wondering, how can I get ONLY the ones that are open already?


* **____________________________________*
*** *
*Andy Matthews
*Senior Coldfusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249
[EMAIL PROTECTED]
www.dealerskins.com


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/



_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to