中文(繁体)
<!-- http://bbs.downcodes.com--> <!-- 完成此效果需要兩個步驟下面把程式碼放置<head>區域中--> <script language="JavaScript"> // Flash Dreamwever的圖像擴展,作者:downcodes.com(tslxg@hotmail.com) nereidFadeObjects = new Object(); nereidFadeTimers = new Object(); function nereidFade(object, destOp, rates, delta){ if (!document.all) return if (object != "[object]"){ //這樣做,這樣我也可以取得一個字串setTimeout("nereidFade( "+物件+","+destOp+","+rate+","+delta+")",0);返回; }clearTimeout(nereidFadeTimers[object.sourceIndex]); diff = destOp-object.filters.alpha.opacity;方向=1; if (object.filters.alpha.opacity > destOp){ 方向 = -1; } delta=Math.min(方向*diff,delta); object.filters.alpha.opacity+=方向*delta; if (object.filters.alpha.opacity != destOp){ nereidFadeObjects[object.sourceIndex]=object; nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate); } } </script> <!-- 將下面程式碼放置<body>區域中--> <divalign="center"> <a href="http://www.downcodes.com/js" target= "_blank "><img border="0" src="/img/link1.gif" onMouseOut=nereidFade(this,50,10,5) onMouseOver=nereidFade(this,100,10,5) style="FILTER: alpha( opacity=55)" width="88" height="31"></a> <br> <a href="http://www.downcodes.com" target="_blank"><img border= "0 " src="/img/link2.gif" onMouseOut=nereidFade(this,50,10,5) onMouseOver=nereidFade(this,100,10,5) style="FILTER: alpha(opacity=55)" 寬度=“ 88”高度=“31”></a> </div>