»
EnglishFrenchVietnamese

Print - Advansed Coolest On mouse Over - JavaScriptBank.com

Full version: jsB@nk » Image » Advansed Coolest On mouse Over
URL: https://www.javascriptbank.com/advansed-coolest-onmouseover.html

Advansed Coolest On mouse Over © JavaScriptBank.comIt is use microsoft filters and work only IE4/5.

Full version: jsB@nk » Image » Advansed Coolest On mouse Over
URL: https://www.javascriptbank.com/advansed-coolest-onmouseover.html



JavaScript
<script>var globopObject;var opIndex=0;var cleared=true;var direction=10;function dynOpacity(opObject,stop){if (stop) {clearInterval(window.tm);cleared=true;opIndex=10;return;}globopObject=opObject;if (opIndex>110) direction=-4;if (opIndex<0) direction=4;opIndex+=direction;globopObject.style.filter='alpha(opacity:' + opIndex + ')';if (cleared){window.tm=setInterval("dynOpacity(globopObject,false);",1);cleared=false;}//alert(window.tm);}function handleevent(){if (event.type=="mouseover")   if(event.srcElement.tagName=="IMG")       if (event.srcElement.parentElement.tagName=="A")   {dynOpacity(event.srcElement,false);}if (event.type=="mouseout")   if(event.srcElement.tagName=="IMG")    {event.srcElement.style.filter="";dynOpacity(event.srcElement,true);}}document.onmouseover=handleevent;document.onmouseout=handleevent;</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<a href="http://javascriptbank.com/"><img src="logojs.gif" width="140" height="60" border="0"></a><br><a href="http://javascriptbank.com/"><img src="logojs.gif" width="140" height="60" border="0"></a><br><a href="http://javascriptbank.com/"><img src="logojs.gif" width="140" height="60" border="0"></a><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->