Log in

View Full Version : How do i add the drop down menu to other parts of the forums?


sonichero
05-20-2007, 08:49 PM
Title says it all. I want to add the drop down menu to my MemberInfo page and put all the "add to buddylist" "user options" and things under it.

I already have the code for the menu, but the javascript wont work. Is there something else i have to put in the head or elsewhere to make it work?

Do i have to put <if condition="$show['popups']"> in order to make it work?

Appreciate the help. This will be released as part of a new profile page mod that will allow people to post their videos, images, etc.

/edit: when i click on the link thats supposed to open the drop down menu, all it does is adds a # to the end of the URL. How do i get it instead to register the # as to drop down the menu like its supposed to?

<td id="commands" class="vbmenu_control">
<a href="#">Commands</a>
<script type="text/javascript">
vbmenu_register("commands");
</script>
</td>

Dismounted
05-21-2007, 06:22 AM
Look at the bottom of the template you the code copied from :).