visited links in dinamic page

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default visited links in dinamic page

    ASP/VBScript/Access

    i have a table created dinamically with one column containing links:

    ....
    For j = iFieldFirst To iFieldLast
    Response.Write vbTab & "<TD>" & "&rsaquo;&rsaquo; ><A href='...'>" &
    arrDBData(j, i) & "</A></TD>" & vbCrLf
    Next
    ....

    the problem is that when the user click in one link, when returning to
    the page, all of them change its color as visited links

    TIA,

    Manuel
    Manuel Socarras Guest

  2. Similar Questions and Discussions

    1. Dinamic Text and URL
      Hello!: Does anyone knows if there is a tutorial on how to display text in a flash animation from a .txt file (i know this is possible). What I...
    2. Resetting "Visited" links to "links" color when new browser opens
      HELP! This should be simple, but I can't find info: In using CSS for font color for text hyperlinks, I have mine set so that the "links" are a...
    3. visited links inside of fireworks pop-ups?
      I am looking for a way to either apply stylesheets to a popup so that all visited links show up as a different color, or alter the js to get the same...
    4. Visited Links Colours
      Anybody know why of all the links on a page, ony one doesn't follow the rules laid out in Page Properties to change the colour to......when visited?...
  3. #2

    Default Re: visited links in dinamic page

    You could use CSS to create a style whereby the visited link colour is the
    same as the active link colour.

    --
    Jules
    [url]http://www.charon.co.uk/charoncart[/url]
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004


    Julian Roberts Guest

  4. #3

    Default Re: visited links in dinamic page

    i had tried it but then the color change on rollover is lost:

    <STYLE type="text/css">
    <!--
    .dynTable {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    }
    <a:link {
    color: #333333;
    text-decoration: none;
    }
    a:hover {
    color: #FF9900;
    text-decoration: none;
    }
    a:visited {
    color: #333333;
    text-decoration: none;
    }
    -->
    </STYLE>

    now my son suggested me moving the visited color from the css to the
    BODY tag and it works !!!???

    a:visited {
    text-decoration: none;
    }
    -->
    </STYLE>
    </HEAD>
    <BODY vlink="#333333">
    Manuel Socarras Guest

  5. #4

    Default Re: visited links in dinamic page

    .oO(Manuel Socarras)
    >i had tried it but then the color change on rollover is lost:
    >[...]
    >
    >now my son suggested me moving the visited color from the css to the
    >BODY tag and it works !!!???
    Fire him. ;)

    Your problem was just a wrong order of the pseudo-classes. To work as
    expected they have to be in the order :link, :visited, :hover, :active.
    Keep in mind that :link and :visited are mutually exclusive, while the
    other pseudo-classes might apply at the same time. That's why you will
    get different results with different orders.

    Micha
    Michael Fesser Guest

  6. #5

    Default Re: visited links in dinamic page

    thanks a lot Micha. i can't fire him but i'll make a deduction in his
    salary this month :xD

    manuel

    Michael Fesser wrote:
    > .oO(Manuel Socarras)
    >
    >
    >>i had tried it but then the color change on rollover is lost:
    >>[...]
    >>
    >>now my son suggested me moving the visited color from the css to the
    >>BODY tag and it works !!!???
    >
    >
    > Fire him. ;)
    >
    > Your problem was just a wrong order of the pseudo-classes. To work as
    > expected they have to be in the order :link, :visited, :hover, :active.
    > Keep in mind that :link and :visited are mutually exclusive, while the
    > other pseudo-classes might apply at the same time. That's why you will
    > get different results with different orders.
    >
    > Micha
    Manuel Socarras Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139