Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

to remove hyperlink after the page is accessed.

 
S.R.K.Vivek Raju
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am not very much familiar with js and html.
I want to know how to remove the hyperlink after the page is accessed.

Let me make it more clear.

I have a menubar on the leftside of my page which is actually a sort of frame which repeats on all the pages. Now when i click on a hyperlink on the menubar the page shows up but the link is still underlined, i want the link to become inactive on that page. But it should be active on all the other pages.

I have tried out the .css thing but my page refreshes everytime i click on the link and the default values show up.

I have tried putting this code in the <head> tag.
<html>
<head>
<title></title>
<style type="text/css">
a:link
{
color: rgb(0,102,153); text-decoration: underline;
}
a:visited
{

color: rgb(0,102,0); text-decoration: None;
}
a:active
{
color: rgb(0,255,0);text-decoration:underline;
}

</style>
</head>
</html>

But it really does't work the way i want it.
Could any one give me a suggestion or an example on how to do this.

Thanks in advance,
With Regards,
S.R.K.Vivek Raju.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think one of the top reults will help you here.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic