by awmi
4 replies
  • WEB DESIGN
  • |
I simply moved the links around so that Scores, Goals, Fixtures are listed before Groups, Top Players and something has gone wrong.

You notice on the home page Scores is in "white" and if you click on any other link Scores is still in "white."

It was set up so that the "white" highlight show for the page you have open. For example Goals should appear in "white" when you have the Goals page open.

What did I do wrong?
#wrong
  • Profile picture of the author dem0x7
    What's the URL you are referring to? Can't see anything!
    {{ DiscussionBoard.errors[2270266].message }}
  • {{ DiscussionBoard.errors[2270310].message }}
  • Profile picture of the author dem0x7
    Well you're gonna have to edit each page and change the navigation class for whatever page you are on.

    So for goals.html

    Find:
    Code:
    <td align="center" valign="middle"><a href="score.html" class="nav_link_a">Scores</a></td> 
    <td align="center" valign="middle"><img src="images/nav_devider.gif" alt="" /></td> 
    <td align="center" valign="middle"><a href="goals.html" class="nav_link">Goals</a></td>
    See how the class for "Scores" is "nav_link_a" that is the class that makes it have a white background. You need to replace that with just a normal "nav_link" without the "a".

    Now below that, for "Goals" you want to change "nav_link" to "nav_link_a" since it is the Goals page that is active.

    Does that make sense? You need to do that for each page.
    {{ DiscussionBoard.errors[2270336].message }}
  • Profile picture of the author awmi
    Brilliant! That makes sense.

    Thanks.
    {{ DiscussionBoard.errors[2270357].message }}

Trending Topics