ZMENA FARBY ODKAZU

ID
Nazov / Name:
Popis / Description:
Dlzka / Length:
Testovane pod / Tested under:

 

127
p127.html / p127.zip
Zmena farby hyperlinkoveho odkazu po prichode mysi (onmouserover)
851b
IE 4.0

UKAZKA / CLICK HERE

Zdrojovy tvar / Source code:

<html> <head> <title> JavaScript DESTINATION - P127 </title> </head> <body> <center><font size="4"> <a href="http://www.pavucina.sk">Casopis Pavucina</a><br> <a href="http://www.javascript.sk">JavaScript DESTINATION</a><br> <p><a href="t127.html">Navrat</a> / <a href="priklady-english.html">BACK</a></p> </font></center> <script> <!-- var ua=navigator.userAgent; var v=navigator.appVersion.substring(0,1); if ((ua.lastIndexOf("MSIE")!=-1) && (v!="1") && (v!="2") && (v!="3")) { document.body.onmouseover=makeCool; document.body.onmouseout=makeNormal; } function makeCool() { src=event.toElement; if (src.tagName=="A") { src.oldcol=src.style.color; src.style.color="ee00ff"; } } function makeNormal() { src=event.fromElement; if (src.tagName=="A") src.style.color=src.oldcol; } // --> </script> </body> </html>
[ Navrat / BACK ]