»
EnglishFrenchVietnamese

Print - Highlighting Link 2 - JavaScriptBank.com

Full version: jsB@nk » Link » Highlighting Link 2
URL: https://www.javascriptbank.com/highlighting-link-2.html

Highlighting Link 2 © JavaScriptBank.comMake your rollovers more noticeable! This JavaScript colors your clickable links on rollover.

Full version: jsB@nk » Link » Highlighting Link 2
URL: https://www.javascriptbank.com/highlighting-link-2.html



JavaScript
<SCRIPT language=JavaScript type=Text/JavaScript>// Made by 1st JavaScript Editor// http : // www.yaldex.com// Come and get more ( free ) productsvar initColor;var iddd;var interv;var count;var LinkColor = "red";function OverCl1(){   if ( count % 2 == 0 )document.getElementById( iddd ).style.backgroundColor = LinkColor;   else document.getElementById( iddd ).style.backgroundColor = initColor;   count ++ ;}//  ---------------------------------------function Over( idd ){   if ( document.getElementById )   {      count = 1;      iddd = idd;      initColor = document.getElementById( iddd ).style.backgroundColor;      document.getElementById( iddd ).style.backgroundColor = LinkColor;      interv = setInterval( "OverCl1()", 500 );   }}//  ---------------------------------------function Out( idd ){   if ( document.getElementById )   {      clearInterval( interv );      document.getElementById( idd ).style.backgroundColor = initColor;   }}</SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<A id=YourId onmouseover=Over(this.id) onmouseout=Out(this.id) href="http://javsacriptbank.com/">Mouse over here to see</A><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->