PDA

View Full Version : Project Drop Down Menu


PaulSonny
07-03-2008, 09:27 AM
Hello Everyone,

I am not sure whether this is possible but i'm trying to add a drop down menu to the Project link in my navigation bar.

Can anyone point me in the direction of how to do it?

Thanks, Paul.

Dismounted
07-03-2008, 10:18 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=122523" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=122523</a>

Jase2
07-03-2008, 12:03 PM
I hate that way. What I usually do is:

Find say FAQ in navbar, then below add:

<td id="projectoptions" class="vbmenu_control"><a href="project.php$session[sessionurl_q]">$vbphrase[project]</a>
<script type="text/javascript"> vbmenu_register("projectoptions"); </script></td>

Then, in the navbar template, at the bottom find:

<!-- / PAGENAV POPUP -->
</if>

Replace with:

<div class="vbmenu_popup" id="projectoptions_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead" align="$stylevar[left]"><a href="project.php$session[sessionurl_q]">$vbphrase[project]</a></td></tr>

Then, if you want to add links to it, just add this (repeat each time):

<tr><td class="vbmenu_option" align="$stylevar[left]"><a href="whatever.php?$session[sessionurl]do=whatever">$vbphrase[whatever]</a></td></tr>

Hope that helps!

PaulSonny
07-03-2008, 01:08 PM
Thanks Jase, works a treat and now it displays what I need.

Thanks, Paul.