• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

to remove hyperlink after the page is accessed.

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think one of the top reults will help you here.

Eric
 
reply
    Bookmark Topic Watch Topic
  • New Topic