PDA

View Full Version : Help with navbar


Zarxrax
04-07-2009, 05:54 PM
I'm using the vbadvanced cpms mod, so I can put a homepage on my forum with news and stuff.

When people are viewing this front page, I would like to have a link to the forum in my navbar. However when people are in the forum, I would like to have a link back to the homepage instead. How can I do this? I've seen it used in another forum at http://www.speedsolving.com which is where I got the idea.

And secondly, how can I add another popup to the navbar with links to specific pages? I've looked at the vbulletin documentation for this but it is very confusing because it tells me to do something with javascript, but it doesn't show how to put an actual link.

Lynne
04-07-2009, 07:08 PM
use THIS_SCRIPT as a condition. ie:
<if condition="THIS_SCRIPT == 'vbadvanceds_script_name'">
link to index page
<else />
link to vbadvanced page
</if>

Zarxrax
04-09-2009, 08:25 PM
Thanks, I got that working, however I am still utterly confused as to how to make an extra popup menu on my navbar.

Lynne
04-09-2009, 08:31 PM
Popup or dropdown?

How To Add Drop Down Menus To Your Navbar (https://vborg.vbsupport.ru/showthread.php?t=122523&highlight=navbar)

Zarxrax
04-09-2009, 11:05 PM
Thanks, thats it.