153、图片转换效果

153、图片转换效果

脚本说明:

把如下代码加入<body>区域中

<SCRIPT language=JavaScript event=onload for=window>

//效果1

mylayer.filters[0].Apply();

mylayer.innerHTML = "<img src='0015.gif' align=center>";

mylayer.filters[0].Play();

///效果2

mylayer2.filters[0].Apply();

mylayer2.innerHTML = "<img src='0015.gif' align=center>";

mylayer2.filters[0].Play();

////效果3

mylayer3.filters[0].Apply();

mylayer3.innerHTML = "<img src='0015.gif' align=center>";

mylayer3.filters[0].Play();

 

</SCRIPT>

<DIV id=mylayer

style="FILTER: revealTrans(transition=16,duration=8); LEFT: 20px; WIDTH: 150px; POSITION: relative; TOP: 20px; HEIGHT: 150px; BACKGROUND-COLOR: white; TEXT-ALIGN: center"><IMG src="0016.gif"></DIV>

<DIV id=mylayer2

style="FILTER: blendTrans(duration=8); LEFT: 20px; WIDTH: 150px; POSITION: relative; TOP: 20px; HEIGHT: 150px; BACKGROUND-COLOR: white; TEXT-ALIGN: center"><IMG

src="0016.gif"></DIV>

<DIV id=mylayer3

style="FILTER: revealTrans(transition=3,duration=8); LEFT: 20px; WIDTH: 150px; POSITION: relative; TOP: 20px; HEIGHT: 150px; BACKGROUND-COLOR: white; TEXT-ALIGN: center"><IMG src="0016.gif"></DIV>

 

Write a comment

Comments: 0