图象淡入淡出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>

【相关文章】好搜一下
J2EE基本架构:概述

J2EE基本架构:概述

电子商务和信息技术的快速发展及对它的需求给应用程序开发人员带来了新的压力。必须以…