The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
[Solved] Multiple collapsable menus on a single page
Hello,
I’m trying to create some multiple collapsable menus on one single page, but somehow all ‘after the first panels’ will open and close the first panel. Ie. this would be my first and second panel: First Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$flickr_photos')"><img id="collapseimg_forumbit_$flickr_photos" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_flickr_photos}.gif" alt="" border="0" /></a> $vbphrase[flickr_photos] </td> </tr> </thead> <tbody id="collapseobj_forumbit_$flickr_photos" style="{$collapseobj_flickr_photos}"> etc. Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$additional_information')"><img id="collapseimg_forumbit_$additional_information" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_additional_information}.gif" alt="" border="0" /></a> $vbphrase[additional_information] </td> </tr> </thead> <tbody id="collapseobj_forumbit_$additional_information" style="{$collapseobj_additional_information}"> etc. I really hope you could point this out for me. Best regards, Cor --------------- Added [DATE]1204194540[/DATE] at [TIME]1204194540[/TIME] --------------- a 'working' not working example of what I meant: http://www.letsgather.net/member.php?u=1 'Flickr Photos' and 'Additional Information' are somehow linked together. Edit: Solved: http://www.vbstyles.com/forum/showthread.php?p=16518 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|