vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Links Directory > vBa Links Directory v1.0 Support > Modifications

Reply
 
Thread Tools Display Modes
  #1  
Old 10-14-2004, 07:48 PM
Roms Roms is offline
Junior Member
 
Join Date: Jun 2004
Posts: 19
Arrow Add a link to Navbar

I was adding my links directory and figured I'd share...

Not sure if this has been added yet but... here you go.



In your Navbar template

Find:

Code:
		<if condition="$bbuserinfo['userid']">
			<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a></td>
		</if>
Below add:

(For background image on link)
Code:
<!-- Setup for drop down menu #5 in navbar -->
<td id="dropdown5" class="vbmenu_control" class="vbmenu_control" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)"><a href="#dropdown5">Links</a> <script type="text/javascript"> vbmenu_register("dropdown5"); </script></td>
<!-- / Setup for down menu #5 in navbar-->
or

(For NO background image on link)
Code:
<!-- Setup for drop down menu #5 in navbar -->
<td id="dropdown5" class="vbmenu_control" class="vbmenu_control" ><a href="#dropdown5">Links</a> <script type="text/javascript"> vbmenu_register("dropdown5"); </script></td>
<!-- / Setup for down menu #5 in navbar-->
Scroll to the very bottom of the navbar template.

Add:

Code:
<!-- Drop down for menu #5 in navbar-->
	<div class="vbmenu_popup" id="dropdown5_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr><td class="thead">Links Directory</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.yoursite.com/links">Links&nbsp;Directory</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.yoursite.com/links/misc.php?do=linktous">Link To Us</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.yoursite.com/links/addlink.php?c=">Submit a Link</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.yoursite.com/links/browselinks.php?do=newlinks">What's New</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.yoursite.com/links/search.php?">Search</a></td></tr>
		</table>
</div>
<!-- / Drop down for menu #5 in navbar-->
Reply With Quote
  #2  
Old 10-14-2004, 07:54 PM
Roms Roms is offline
Junior Member
 
Join Date: Jun 2004
Posts: 19
Default Re: Add a link to Navbar

View it in action here:

http://www.goinfantry.com/?styleid=29

Last edited by Roms; 10-14-2004 at 07:59 PM.
Reply With Quote
  #3  
Old 11-20-2004, 08:20 PM
d4v3r5 d4v3r5 is offline
Junior Member
 
Join Date: Sep 2004
Posts: 13
Default Re: Add a link to Navbar

works great, thank you very much!
Reply With Quote
  #4  
Old 11-20-2004, 08:50 PM
Lionel Lionel is offline
Senior Member
 
Join Date: Jan 2004
Location: Miami
Posts: 1,040
Thumbs up Re: Add a link to Navbar

very good idea!
Reply With Quote
  #5  
Old 11-25-2004, 02:41 PM
pepper pepper is offline
Member
 
Join Date: Oct 2004
Posts: 60
Default Re: Add a link to Navbar

thanks m8 works perfect

Last edited by pepper; 11-25-2004 at 03:08 PM.
Reply With Quote
  #6  
Old 07-17-2005, 06:04 PM
Judge Ruckus's Avatar
Judge Ruckus Judge Ruckus is offline
Justa Dude
 
Join Date: Oct 2004
Location: Maryland
Posts: 115
Default Re: Add a link to Navbar

I am using it, Thank You!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Navbar Dropdown Link Issue paul41598 Troubleshooting / "How do I..." Questions 5 09-15-2004 02:10 AM
Webmaster E-mail Address and Link Poster Shon Feedback & Suggestions 0 09-03-2004 03:21 PM
How Can I Fix a Broken Link in my Navbar? romeshomey Troubleshooting / "How do I..." Questions 3 07-18-2004 03:17 PM
Link Exchanges Snowy Troubleshooting & Problems 1 06-30-2004 11:26 AM


All times are GMT -4. The time now is 03:50 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.