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 5 of 5
  1. #1
    Junior Member
    Join Date
    Aug 2003
    Posts
    2
    Member #
    2540
    Greetings,

    Ok, say there were two websites. One has a link to one and the other to the other.

    When I click on the link of one, it take me to the other and then when I click on the link in the other, it takes me back to the one. But, the link changes showing that I already clicked on it. Even if for the other one.

    How can I disable this for my site such that the "links" aren't already shaded showing that my visitor has clicked on them already or haven't?

  2.  

  3. #2
    Senior Member Brak's Avatar
    Join Date
    Apr 2003
    Location
    San Francisco, CA
    Posts
    3,413
    Member #
    1217
    Liked
    2 times
    Change the properties of links in CSS... use the following properties:
    Code:
    a:link{
      color:blue;
    }
    a:hover{
      color:blue;
    }
    a:active{
      color:blue;
    }
    a:visited{
      color:blue;
    }
    If you added that code in properly coded <style> tags in your header it will make all links blue regardless of their status (clicked or unclicked). Also you can use an external stylesheet such as this site does. You will notice a <link> tag in the header linking it to styles.css which denotes the properites for the things I listed above.
    Kyle Neath: Rockstar extraordinare
    The blog | The poetry site | The Spore site

  4. #3
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    Or you can just do this...
    Code:
    a {
      color:blue;
    }
    JR

  5. #4
    Senior Member james's Avatar
    Join Date
    May 2003
    Location
    Melbourne, AUSTRALIA
    Posts
    364
    Member #
    1352
    You might want to give it a special class as well so that it doesn't affect all links.
    So use this to the CSS (similar to Brak's)
    Code:
    a:link{
      color:blue;
    }
    a:visited{
      color:gray;
    }
    a.ReturnLink:visited{
      color:blue;
    }
    And add a class property to the link in question
    Code:
    <a href="http://firstsite.com" class="ReturnLink">firstsite.com</a>
    <a href="http://secondsite.com" class="ReturnLink">secondsite.com</a>
    James H
    Home Page · Mars Page · www.fihsf1.net (formerly www·fihs·net)

  6. #5
    Senior Member I Brian's Avatar
    Join Date
    Oct 2002
    Location
    Yorkshire, UK
    Posts
    149
    Member #
    26861
    Ah...this is useful for those of us on the brink of plunging properly into CSS.


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 12:59 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com