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

【相关文章】好搜一下
Ajax技术初接触

Ajax技术初接触

什么是Ajax?Ajax的定义Ajax不是一个技术,它实际上是几种技术,每种技术…