Quote:
Originally Posted by bilalghouri you were too busy to answer on shoutbox , told me to create a topic , to waste my time .. what could i have done ?? lol i created topic for u, |
Feel free to rant more against me at the
Rant & Rave section.
ok. heres how you can create a new dropdown link :
Along with the other navbar buttons, add the following button :
The Navbar button : PHP Code:
<td id="dropdown1" class="vbmenu_control">
<a href="#" rel="nofollow">Custom Navbar Button</a>
<script type="text/javascript"> vbmenu_register("dropdown1", 1); </script>
</td>
In the navbar template, find this :
PHP Code:
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
Below it, add this given code,
customised to your needs :
Dropdown menu : PHP Code:
<!-- custom dropdown menu -->
<div class="vbmenu_popup" id="dropdown1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Category One</td></tr>
<tr><td class="vbmenu_option"><a href="url1">Link 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="url2">Link 2</a></td></tr>
<tr><td class="vbmenu_option"><a href="url3">Link 3</a></td></tr>
<tr><td class="thead">Category Two</td></tr>
<tr><td class="vbmenu_option"><a href="url4">Link 4</a></td></tr>
<tr><td class="vbmenu_option"><a href="url5">Link 5</a></td></tr>
<tr><td class="vbmenu_option"><a href="url6">Link 6</a></td></tr>
</table>
</div>
<!-- / custom dropdown menu -->