Help - Nav links

Discussion in 'HTML & Website Design' started by touchAshley, Nov 4, 2007.

  1. #1
    I got my site up. but I can figure out how to get the hover links at the top to point to whatever current page you're on. It just stays on "REFERRal BUILDER.

    If you look at my site you can see www.JustRef.com

    how to i fix that?
     
    touchAshley, Nov 4, 2007 IP
  2. JeffHood

    JeffHood Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Notice your site's HTML code - specifically this unordered list:

    <ul>
    	<li id="current"><a href="index.html">REFERRAL BUILDER</a></li>
    	<li><a href="howfreebies.html">HOW FREEBIES WORK</a></li>
    	<li><a href="http://www.justgpt.com" target="_blank">GPT SITES</a></li>
    	<li><a href="linkto.html">LINK TO US</a></li>
    	<li><a href="mailto:brandonroy1@gmail.com">CONTACT</a></li>
    </ul>
    
    HTML:
    You'll have to manually add the 'id="current"' attribute to each page's respective menu item. Make sure it only appears in the menu once for each page.

    For example the 'how freebies work' page would appear thus:
    <ul>
    	<li><a href="index.html">REFERRAL BUILDER</a></li>
    	<li id="current"><a href="howfreebies.html">HOW FREEBIES WORK</a></li>
    	<li><a href="http://www.justgpt.com" target="_blank">GPT SITES</a></li>
    	<li><a href="linkto.html">LINK TO US</a></li>
    	<li><a href="mailto:brandonroy1@gmail.com">CONTACT</a></li>
    </ul>
    
    HTML:
    Also, I recommend creating a 'contact' page rather than just using your email address as a link.

    Let me know if you need more help!
     
    JeffHood, Nov 4, 2007 IP
  3. touchAshley

    touchAshley Active Member

    Messages:
    1,762
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    90
    #3


    oh god I didn't think of that! I feel stupid.

    And yes I am creating an email account for that site and I am making a contact form page. The was just put up today and I just rush things so much.

    Thank you!
     
    touchAshley, Nov 4, 2007 IP