Results 1 to 6 of 6

Thread: Add a link to Navbar

Hybrid View

  1. #1
    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-->

  2. #2
    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.

  3. #3
    Junior Member
    Join Date
    Sep 2004
    Posts
    13

    Default Re: Add a link to Navbar

    works great, thank you very much!

  4. #4
    Senior Member
    Join Date
    Jan 2004
    Location
    Miami
    Posts
    1,040

    Thumbs up Re: Add a link to Navbar

    very good idea!

  5. #5

    Default Re: Add a link to Navbar

    thanks m8 works perfect
    Last edited by pepper; 11-25-2004 at 04:08 PM.

  6. #6
    Justa Dude Judge Ruckus's Avatar
    Join Date
    Oct 2004
    Location
    Maryland
    Posts
    115

    Default Re: Add a link to Navbar

    I am using it, Thank You!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •