vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




Custom navbar - quicklinks menu

WoodiE55
09-12-2006, 07:33 AM
I'm creating my own custom navbar using a horizontal css menu and I'd like one of the text links to be the Quick Links menu, however I can't figure out how to get the quick links drop down menu to appear after the Quick Links link is clicked.

Can anyone help?

Noppid
09-12-2006, 08:19 AM
So on the stock vB menu bar, the quick links menu worked? Then you moved the link and it no longer works?

I'mnot a css expert by any means, but I thought the drop downs were javascript?

WoodiE55
09-12-2006, 09:16 AM
Here is what it used to be:

<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>

An this is what the new nav bar is now, the Quick links is the second from last LI

<ul id="navlist">
<li><a href="index.php">Home</a></li>
<li><a href="usercp.php">UserCP</a></li>
<li><a href="memberlist.php">Members</a></li>
<li><a href="search.php">Search</a></li>
<li><a href="$show[nojs_link]#usercptools">Quick Links</a><script type="text/javascript"> vbmenu_register("usercptools", true); </script></li>
<li><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" style="border: none">Logout</a></li>
</ul>

In the default navbar menu it works fine, however in the new custom navbar it's not bringing up the pop-up menu.

WoodiE55
09-12-2006, 09:19 AM
Nevermind I figured it out. Guess all I needed to do was to take a break for a few minutes and then take another look at it. Below in BOLD is what needed to be added so that the quicklinks would work with the new navbar:

<ul id="navlist">
<li><a href="index.php">Home</a></li>
<li><a href="usercp.php">UserCP</a></li>
<li><a href="memberlist.php">Members</a></li>
<li><a href="search.php">Search</a></li>
<li id="usercptools"><a href="$show[nojs_link]#usercptools">Quick Links</a><script type="text/javascript"> vbmenu_register("usercptools", true); </script></li>
<li><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" style="border: none">Logout</a></li>
</ul>

Thanks anyways!

Peggy
09-12-2006, 09:20 AM
Be sure to show us the results when finished. I'd like to see it

WoodiE55
09-12-2006, 12:22 PM
Peggy,

I've pretty much used this code (http://css.maxdesign.com.au/listamatic/horizontal03.htm) for my navbar.



Enjoy!

Peggy
09-12-2006, 02:10 PM
ahha, I like it


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum