Results 1 to 12 of 12

Thread: Multiple links

  1. #1
    New Lounger
    Join Date
    Sep 2003
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Multiple links

    To Whom It May Concern:

    I have many pages with links to each of them on my index page. On my computer the link colors work correctly, but after I upload them, when one link is used, all the links display the used color? How do I correct this using html?

    Wayne

  2. #2
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Multiple links

    Hi Wayne,

    Do you want the links to show the visited (used) color after being visited? Or would you prefer that they keep their original color regardless of visiting?

    Remember that the visited status of a page is determined by your local browser's history. If you want an accurate test of the remote site, be sure to clear your history before testing.

    If you would like the links to always stay the same color, you can assign the same color to the Visited attribute that's used on the Link attribute. Or you could use Cascading Style Sheet (CSS) attributes in the same manner.

    Hope this helps!

  3. #3
    New Lounger
    Join Date
    Sep 2003
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Multiple links

    I want the color to each link to change after being used. That did work before I uploaded the files?

    This is what the code looks like:

    <BODY TEXT="#000000" LINK="#008000" VLINK="#808080" BACKGROUND="primary.jpg">

  4. #4
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Multiple links

    It's hard to know what's going on without more information about the pages and site you're working with.

    Is the site public? Can you post the URL here?

    Are the link colors not changing? Or are they always displaying as Visited?

  5. #5
    New Lounger
    Join Date
    Sep 2003
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Multiple links

    Here is one site that the links can be checked:
    http://members.cox.net/galatians/fa.htm

  6. #6
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Multiple links

    I'm not sure how it worked on your local machine, but it seems to work as it should.

    The visited links are determined by page name (i.e. fb.htm, f1.htm, etc) - NOT by anchor location on the page (i.e. fb.htm#BM2, f1.htm#BM8).

    When you visit any link on the page, ALL links to the page will display as visited.

  7. #7
    New Lounger
    Join Date
    Sep 2003
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Multiple links

    On that site, when you click the green link named "Forward", it takes you to that link's url. At that url, after using only one of the green segment links, all the green segment links turn gray as if each had been used! And when you return to the chapters index, all the green segment links in "Forward" have also turned gray, as well?

  8. #8
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Multiple links

    This is correct!

    The status based on the page (i.e. the HTML file) - NOT the anchor within the page. Therefore ALL links pointing to ANY anchor on a page will appear visited when you visit the page.

    This is how browsers have always worked. I'm not sure why things would work any differently on your local computer...

  9. #9
    New Lounger
    Join Date
    Sep 2003
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Multiple links

    I've noticed on another site that they have a tag that's not in mine: ALINK="#CE2910" The links on that site work the way I want mine to work.

    Hold on, your correct!

  10. #10
    New Lounger
    Join Date
    Sep 2003
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Multiple links

    You are correct.

    Thanks,

    Wayne

  11. #11
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Multiple links

    ALINK is the attribute for Active Link. The results of using this tag will differ between browsers. Typically, this will determine the color you see when actually Clicking a link.

    Also, keep in mind that the W3C has stated that the Link attributes will be done away with in future browsers. The best way to accomplish the same goal now is to use the CSS values:

    A:link { color: #000000; }
    A:visited { color: #000000; }
    A:active { color: #000000; }
    A:hover { color: #000000;}

    (Ignore the #000000 colors - replace that with the colors of your choice.)

  12. #12
    New Lounger
    Join Date
    Sep 2003
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Multiple links

    Thank you - MarkJ -, you've been very helpful.

    Wayne

Posting Permissions

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