The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to make collapse closed by default?
Hi
I have this bit of code, It has a collapse feature and i would like to know how to set the code so that the box is closed by default please? Code:
$nzbfiletable = "<table class=\"tborder\" cellpadding=\"$cellpadding\" cellspacing=\"$cellspacing\" border=\"0\" width=\"100%\" align=\"center\"><td class=\"tcat\" colspan=\"2\"><a style=\"float: right;\" href=\"#top\" onclick=\"return toggle_collapse('nzbfile" . $nzbfileid . "');\"><img id=\"collapseimg_nzbfile" . $nzbfileid . "\" src=\"" . $imgdir_button . "/collapse_tcat.gif\" alt=\"\" border=\"0\"></a>NZB File Contents</td></table>"; $nzbfiletable .= "<table cellspace=\"1\" style=\"\" id=\"collapseobj_nzbfile" . $nzbfileid . "\"><tr bgcolor=\"#B9CAE6\"><td><font face=\"Verdana\" size=\"1\">Subject</td><td><font face=\"Verdana\" size=\"1\">Group</td><td><font face=\"Verdana\" size=\"1\">Size (kb)</td><td><font face=\"Verdana\" size=\"1\">Parts</td><td><font face=\"Verdana\" size=\"1\">Poster</td></tr>"; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|