不错的图片透明度渐变效果

<SCRIPT language=JavaScript type=””>
<!–
function high(which2){
theobject=which2
highlighting=setInterval(“highlightit(theobject)”,100)}
function low(which2){clearInterval(highlighting)
which2.filters.alpha.opacity=30}
function highlightit(cur2){
if (cur2.filters.alpha.opacity<200)
cur2.filters.alpha.opacity+=20
else if (window.highlighting)
clearInterval(highlighting)}
//–></SCRIPT>
<a target=”_blank” href=”https://www.3code.cn/”>
<IMG align=middle alt=”come here” border=0 height=247 onmouseout=low(this) onmouseover=high(this) src=”http://www.qpsh.com/icon/443_209_1.jpg” style=”border:1px solid #FFFFFF; FILTER: alpha(opacity=30)”></a>

分类: 精选JS

寒林

www.3code.cn 专注WordPress企业主题