vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Help with navbar (https://vborg.vbsupport.ru/showthread.php?t=210578)

Zarxrax 04-07-2009 05:54 PM

Help with navbar
 
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:
HTML Code:

<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

Zarxrax 04-09-2009 11:05 PM

Thanks, thats it.


All times are GMT. The time now is 01:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00921 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete