»
EnglishFrenchVietnamese

Print - Highlight image Script I - JavaScriptBank.com

Full version: jsB@nk » Image » Highlight image Script I
URL: https://www.javascriptbank.com/highlight-image-script.html

Highlight image Script I © JavaScriptBank.comA script that makes any image(s) appear dull before the mouse moves over it; as the mouse moves over it, the image changes to its original appearance. This is a script controlled effect, so no altering is required to the actual image in any way.

Full version: jsB@nk » Image » Highlight image Script I
URL: https://www.javascriptbank.com/highlight-image-script.html



JavaScript
<script language="JavaScript1.2">function makevisible(cur,which){strength=(which==0)? 1 : 0.2if (cur.style.MozOpacity)cur.style.MozOpacity=strengthelse if (cur.filters)cur.filters.alpha.opacity=strength*100}</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" border=0 style="filter:alpha(opacity=20);-moz-opacity:0.2" onMouseover="makevisible(this,0)" onMouseout="makevisible(this,1)"></a><br><a href="http://javascriptbank.com"><img src="photo3.jpg" border=0 style="filter:alpha(opacity=20);-moz-opacity:0.2" onMouseover="makevisible(this,0)" onMouseout="makevisible(this,1)"></a><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->