Same link repeats multiple times in a page clicking one of them changes the color of all same links
i am working on a rad grid where a link related to same page repeats itself. when i click on one of the links, and then return to the page after navigating to the destination page, all the same links color changes.
what i want is when i click a single link only that should be shown as visited link.
how do i implement this? i am using the link as follows:
<telerik:GridTemplateColumn UniqueName="Sequence" HeaderText="Seq">
<ItemTemplate>
开发者_如何学C <asp:HyperLink ID="btnId" runat="server" />
</ItemTemplate>
</telerik:GridTemplateColumn>
This is the long version because I don't know how much you already know.
When you visit a link its color changes to a 'visited' color. This color is determined by the user's browser. Each website you visit can choose to override this using CSS.
a:visited { color: green; }
Every page you visit (regardless of site) that includes the exact same link will use that site's visited css color. You can add a querystring to the the link if you want it to be unique.
http://www.google.com/?link=1
http://www.google.com/?link=2
精彩评论