MyBB Community Forums

Full Version: How can I get a Vbulletin dropdown menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need a vbulletin dropdown menu for my forum,
Like the quicklinks thing with the JS and stuff.
http://www.dynamicdrive.com/dynamicindex...ontrol.htm

There you go. If that isn't what you want that site will have it.
Or you could use the built in popup menu that comes with mybb.
For example...just look at the edit button in the postbit. By changing the edit code, you can apply a similar menu anywhere on your site.

For instance...if you look at the menu on AdMySite, we use the same technique. Just click "Points" in the menu.

This is the code from that particular link:
<a href="{$mybb->settings['bburl']}/store.php" id="quicklinks">Points</a>

<div id="quicklinks_popup" class="popup_menu" style="display: none; width: 100px;"><div class="popup_item_container"><a href="store.php" class="popup_item">AMS Store</a></div><div class="popup_item_container"><a href="misc.php?action=raffle" class="popup_item">Raffles</a></div><div class="popup_item_container"><a href="mybank.php" class="popup_item">AMS Bank</a></div><div class="popup_item_container"><a href="slots.php" class="popup_item">Slot Machine</a></div><div class="popup_item_container"><a href="rps.php" class="popup_item">Rock,Paper,Scissors</a></div><div class="popup_item_container"><a href="richmembers.php" class="popup_item">Richest Members</a></div></div>
<script type="text/javascript">
// <!--
	if(use_xmlhttprequest == "1")
	{
		new PopupSearch("quicklinks");
	}
// -->
</script>