Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Apr 2003
    Posts
    2
    Member #
    1096
    At http://www.gospelcom.net/
    You could find "navbar" which is "active" (with orange color) when You are visiting that specific section?

    How could I do that as is on that site...

    I'm talking about the permanent orange color on the currently viewed nav selection (at the top)

    /* The main menu selected colors */
    .mainMenuSelected {
    color: #FF9933;
    font-weight: bold;
    font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
    font-size: 10px;
    text-decoration: none;
    }
    .mainMenuSelected:visited {
    color: #FF9933;
    }
    .mainMenuSelected:hover {
    color: #cc6600;
    text-decoration: none;
    }

    and what else
    <a href="/" class="mainMenuSelected">Home</a>

    to have this above
    <a href...
    on every click on navbar section.

    cos

    WHEN YOU ARE click on different section page source is always different with
    <a href="/" class="mainMenuSelected">home or about us or links or etc...

  2.  

  3. #2
    Senior Member
    Join Date
    Jun 2003
    Location
    Australia
    Posts
    735
    Member #
    1935
    all you have to do is give it a different CSS class to the others.

  4. #3
    Member palmer's Avatar
    Join Date
    Aug 2003
    Posts
    33
    Member #
    2439
    There is an attribute,

    a.active: {
    color: whatever;
    }

    This controls the color of the active link.
    Look to the cookie Elaine....look to the cookie.

    http://www.queuedtalent.com

  5. #4
    Member Black Vivi's Avatar
    Join Date
    Apr 2003
    Location
    UK
    Posts
    75
    Member #
    1072
    its this actually:
    Code:
    a:active {
        color:COLOR;
    }
    Download Firebird now!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:17 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com