aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes to remove hyperlink after the page is accessed. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "to remove hyperlink after the page is accessed." Watch "to remove hyperlink after the page is accessed." New topic
Author

to remove hyperlink after the page is accessed.

S.R.K.Vivek Raju
Ranch Hand

Joined: Sep 23, 2004
Posts: 58
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
I think one of the top reults will help you here.

Eric
 
wood burning stoves
 
subject: to remove hyperlink after the page is accessed.