mda
05-08-2012, 07:18 PM
Animated Collapse
http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
Is there a quick way to hide every div that belongs to a group without listing each one individually?
for example:
With a few more divs,
animatedcollapse.hide(['cat', 'dog', 'rabbit' ]) will get a bit much quickly and would be much better achieved using something like:
animatedcollapse.hide(['pets' ])
Or should I just add a class to the relevant divs and use a link to hide them without the animation?
Thanks
http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
Is there a quick way to hide every div that belongs to a group without listing each one individually?
for example:
With a few more divs,
animatedcollapse.hide(['cat', 'dog', 'rabbit' ]) will get a bit much quickly and would be much better achieved using something like:
animatedcollapse.hide(['pets' ])
Or should I just add a class to the relevant divs and use a link to hide them without the animation?
Thanks