PDA

View Full Version : Expand/collapse first link expand always


reddyink
11-04-2007, 01:05 AM
I used collapsed style code from previous threads
I added display:none style in my object. all rows are now collapsed by default. Is there a way that we can set first row to be expanded and all others to be collapsed. then user can click on collapsed one's to expand.

Can we set that option in same box, to first row to be expanded and all others to be collapsed, when page loads.
Do we need to use some kind of arrays?
here is my code for object
<tbody id="collapseobj_$modcat[catid]" style="$vbcollapse[collapseobj_modcatcatid]" style="display:none">

Thanks in advance