한국어
<!-- http://bbs.downcodes.com--> <!--完成此效果需要两步 把下face代码放到<head>区域中--> <script 언어="JavaScript"> // 플래시 Dreamwever용 이미지 확장, 작성자: downcodes.com(tslxg@hotmail.com) 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); 반품; }clearTimeout(nereidFadeTimers[object.sourceIndex]); diff = destOp-object.filters.alpha.opacity; 방향 = 1; if (object.filters.alpha.opacity > destOp){ 방향 = -1; } delta=Math.min(방향*차이,델타); object.filters.alpha.opacity+=방향*델타; if (object.filters.alpha.opacity != destOp){ nereidFadeObjects[object.sourceIndex]=object; nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate); } } </script> <!--把下면代码放到<body>区域中--> <div align="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: 알파(불투명도=55)" 너비 ="88" height="31"></a> </div>