注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

浩瀚星云

上善若水 厚德载物<学习版>

 
 
 

日志

 
 

非常不错的图片渐显效果  

2008-06-06 20:33:17|  分类: ASP(过时) |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>网页特效|Linkweb.cn/Js|--- 双击可放大缩小的图片</title>
</head>

<body>

<script language=JavaScript>
<!-- Beginning of JavaScript Code -------------------

nereidFadeObjects = new Object();
nereidFadeTimers = new Object();
function nereidFade(object, destOp, rate, delta){
if (!document.all)
return
    if (object != "[object]"){ setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);
        return;
    }
    clearTimeout(nereidFadeTimers[object.sourceIndex]);
    diff = destOp-object.filters.alpha.opacity;
    direction = 1;
    if (object.filters.alpha.opacity > destOp){
        direction = -1;
    }
    delta=Math.min(direction*diff,delta);
    object.filters.alpha.opacity+=direction*delta;
    if (object.filters.alpha.opacity != destOp){
        nereidFadeObjects[object.sourceIndex]=object;
        nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);
    }
}
// -- End of JavaScript Code -->
</script>

<TABLE align=center border=0 cellPadding=0 cellSpacing=1>
        <TBODY>
        <TR align=middle>
          <TD 
          height=60 width=60 background="images/dw01.gif"><A
            href="#"><IMG
            alt="网页特效" border=0 height=60
            onmouseout=nereidFade(this,01,7,5)
            onmouseover=nereidFade(this,100,5,7)
            src="images/dw02.gif"
            style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FILTER: alpha(opacity=0)"
            width=60></A></TD>
          <TD background=images/dw01.gif height=60
          width=60><A
            href="#"><IMG
            alt="网页特效" border=0 height=60
            onmouseout=nereidFade(this,01,7,5)
            onmouseover=nereidFade(this,100,5,7)
            src="images/dw02.gif"
            style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FILTER: alpha(opacity=0)"
            width=60></A></TD>
          <TD height=60
          width=60 background="images/dw01.gif"><A
            href="#"><IMG
            alt="网页特效" border=0 height=60 onmouseout=nereidFade(this,01,7,5)
            onmouseover=nereidFade(this,100,5,7)
            src="images/dw02.gif"
            style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FILTER: alpha(opacity=0)"
            width=60></A></TD>
          <TD height=60
          width=60 background="images/dw01.gif"><A
            href="#"><IMG
            alt="网页特效" border=0 height=60
            onmouseout=nereidFade(this,01,7,5)
            onmouseover=nereidFade(this,100,5,7)
            src="images/dw02.gif"
            style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FILTER: alpha(opacity=0)"
            width=60></A></TD>
        </TR></TBODY></TABLE>

</body>

</html>

  评论这张
 
阅读(42)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017