图象淡入淡出Script

来源:本站整理  作者:NC_Editor
摘要:!Two steps to installing this script!1) Copy everything below, and paste in HEAD section of pagescript language=……

<!--Two steps to installing this script-->

<!--1) Copy everything below, and paste in HEAD section of page-->

<script language="JavaScript1.2">

/*

Fading Image Script-

?Dynamic Drive (www.jojoo.net)

For full source code, installation instructions,

100's more DHTML scripts, and Terms Of

Use, visit dynamicdrive.com

*/

function makevisible(cur,which){

if (which==0)

cur.filters.alpha.opacity=100

else

cur.filters.alpha.opacity=20

}

</script>

<!--2) Add the below to your IMG tags. For example:-->

<a href="whatever.htm"><img src="http://www.jojoo.net/logo.gif" border=0 onMouseover="makevisible(this,0)" onMouseout="makevisible(this,1)"></a>

【相关文章】好搜一下
从命令行操作的实践来谈重构的修炼

从命令行操作的实践来谈重构的修炼

阅读提示:重构是一个“永恒的话题”,只要开发在持续,那么重构就会一直伴随着我们。…