How about a class 'hideable' to style all of the rows hidden or not, and a
class 'hidden' which does the actual hiding?
Then, to hide all and show a specific one:
$('.hideable').not('.hidden').addClass('hidden');
$('#specials-' + num + '-details').removeClass('hidden');
or something along those lines.
On 3/29/07, Klaus Hartl <[EMAIL PROTECTED]> wrote:
Jake McGraw schrieb:
> Have to tried ':visible' selector?
>
> $('.hidden:visible').slideUp("fast");
By the way, reading ".hidden:visible" shows to me that the class name
"hidden" is purely presentational and not very well chosen. How can a
hidden thing be visible?
Would be less confusing to call it "additional" for example.
-- Klaus
_______________________________________________
jQuery mailing list
[EMAIL PROTECTED]
http://jquery.com/discuss/103
--
Rob Desbois
Eml: [EMAIL PROTECTED]
Tel: 01452 760631
Mob: 07946 705987
"There's a whale there's a whale there's a whale fish" he cried, and the
whale was in full view.
...Then ooh welcome. Ahhh. Ooh mug welcome.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/