PDA

View Full Version : what kind of script i can use



Fatima Abdul
08-22-2006, 06:59 AM
i want to get the following scripts:
underline effect and color change when mouse over any hyperlink text
link description
i am confused to seee so many scripts coz i am new in this field plz refer me a url for these scripts
http://www.dynamicdrive.com

jscheuer1
08-22-2006, 08:27 AM
To get a link to change text-decoration (underline, overline, line-through, none, etc.) and color and/or background-color properties, all that is required is css style, no javascript.

To do all of the links on one page it this in the head of the page:


<style type="text/css">

a:hover {
text-decoration:none;
color:green;
background-color:yellow;
}

</style>

See also:

http://www.w3schools.com/css/css_pseudo_classes.asp

Click the first two hyperlink example links on that page.