The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
JS Dropdown menu not working
I'm working on a hack. I was originally doing a direct port from the 3.0.x version but have since decided to do a complete re-write of it. I was creating a new template. The template is fully coded except the drop down menu won't work. I even tried using the drop down menu code from the old version of the hack but it doesn't work for some reason.
Code:
<table class="tborder" align="center"> <thead> <tr> <td class="thead" align="left" valign="top"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('stats')"><img id="collapseimg_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_stats].gif" alt="" border="0" /></a> $vbphrase[statistiques] : <i>$foruminfo[title]</i> </td> <td class="vbmenu_control"><font class="smallfont"> <span id="menuchat" class="vbmenu_control" style="float:$stylevar[center]">$vbphrase[stats_autres] <script type="text/javascript"> vbmenu_register("menuchat"); </script> </span> </td> </tr> </thead> <tbody id="collapseobj_stats" style="$vbcollapse[collapseobj_stats]"> <tr> <td class="thead" align="right" valign="top"> $vbphrase[stats_sujets]: <b>$forum[threadcount]</b> </td> <td class="thead" align="left" valign="top"> $vbphrase[stats_reponses] : <b>$forum[posts]</b> </td> </tr> <tr> <td class="thead"> $vbphrase[stats_vues] : <b>$nb_vues</b> </td> <td class="thead"> $vbphrase[stats_votes] : $moyenne[votes] </td> </tr> <tr> <td class="thead"> $vbphrase[stats_dsujet] : <b>$sujets[postusername]</b> </td> <td class="thead"> $vbphrase[stats_sujets] locked : <b>$sujet[ferme]</b> </td> </tr> <tr> <td class="thead"> $vbphrase[stats_mposteur] : <b>$meilleur[username] ($meilleur[postcount])</b> </td> <td class="thead"> $vbphrase[stats_total_posts] : <b>$forum[replycount]</b> </td> </tr> <tr> <td class="thead"> $vbphrase[stats_dposteur] : <b>$forum[lastposter]</b> </td> <td class="thead"> $vbphrase[stats_dsujet] : <b>$forum[lastthread]</b> </td> </tr> </table> The JS dropdown menu is foudn here: Code:
<td class="vbmenu_control"><font class="smallfont"> <span id="menuchat" class="vbmenu_control" style="float:$stylevar[center]">$vbphrase[stats_autres] <script type="text/javascript"> vbmenu_register("menuchat"); </script> </span> </td> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|