PDA

View Full Version : Need help with dropdown menu ive made please


bashy
09-25-2006, 08:52 PM
Hi peeps

I have mad myself a dropdown menu copied from another menu..
This is virtually the same but with my own links in it, i also removed some code that i didnt need and it dont work, can someone take a looks please?

Menu i made (adjusted) is

<!-- Extras -->
<if condition="$show['member']">
<div class="vbmenu_popup" id="sitemap_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">Extras</td></tr>
<tr><td class="vbmenu_option"><a href="http://www.bashys-place.com/forums/arcade.php">Arcade</a></tr>
<tr><td class="vbmenu_option"><a href="http://www.bashys-place.com/forums/hackdb.php">vB Hacks</a></tr>
<tr><td class="vbmenu_option"><a href="http://www.bashys-place.com/forums/vbtestimonials.php">Confessions</a></tr>
<tr><td class="vbmenu_option"><a href="http://www.bashys-place.com/forums/vbgooglemapme.php">Google Map</a></tr></if>
<tr><td class="vbmenu_option"><a href="http://www.bashys-place.com/forums/mmwordscramble.php?">Anagrams</a></tr></if>
</table>
</div>
</if>
<!-- / Extras -->

This is what i removed (dont need), this goes just before the </table>

<tr><td class="thead">Staff Menu</td></tr></if>
<if condition="$show['admincplink']">
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/$admincpdir/" target="blank_">Admin CP</a></td></tr></if>
<if condition="$show['modcplink'] OR $bbuserinfo['usergroupid'] == '5' OR $bbuserinfo['usergroupid'] == '7'">
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/$modcpdir/" target="blank_">Moderator CP</a></td></tr></if>

When i dded this to the navebar it made a right mess of things, the menu stayed dropped and some of the links were to the right of the navbar, totaly wrong lol