GeeCON Prague 2014*
The moose likes HTML, CSS and JavaScript and the fly likes javascript to edit html code 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 "javascript to edit html code" Watch "javascript to edit html code" New topic
Author

javascript to edit html code

Antony Patric
Greenhorn

Joined: Apr 24, 2008
Posts: 7
Hi,
Could anyone help me...
I visited a site www.w3schools.com ,and in that when we select a particular topic the link remains to be bold until we select another topic or link.

we can give different looks for the links by using CSS and using the attributes hover,visited,etc but i couldn't find anything with which this is possible.
When I took the source code of the page I could see that the link was mentioned to be bold explicitly.But somebody told me that they used javascript to edit the html code and give the bold view.

I have given the sample source code from the page.

Thanks,
Antony

[Eric- edit - added code tags]
[ June 12, 2008: Message edited by: Eric Pascarello ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I am not sure what you are after exactly, but take a look at the examples here: http://css.maxdesign.com.au/listamatic/

and see if that answers it.

Eric
 
GeeCON Prague 2014
 
subject: javascript to edit html code