<html><body bgcolor="#fef4d9" onload="Clicked()">
<SCRIPT>
<!--
transeffect = 0;
theeffects = new Array(24);current_image = "image1";
function Clicked()
{
setTimeout("Clicked()",2000)
var the_image, the_other;
text2.style.visiblity="hidden";
if (image1.style.visibility=="inherit")
{
the_image = image2;
the_other = image1;
}
else
{
the_image = image1;
the_other = image2;
}
the_other.style.visibility="hidden";
the_image.filters.item(0).Apply();
the_image.filters.item(0).Transition = transeffect;
the_image.filters.item(0).Play(2.0);
the_image.style.visibility="inherit";
text2.innerText=theeffects[transeffect];
transeffect++;
if (transeffect == 24)
transeffect = 0;
text2.style.visibility="visible";
}
//-->
</SCRIPT>
<DIV id=image>
<DIV id=text1></DIV>
<IMG id=image2 src="054.gif"
style="FILTER: revealTrans(Duration=3.0,Transition=1); VISIBILITY: hidden"> <img id=image1
src="054.gif"
style="FILTER: revealTrans(Duration=3.0,Transition=1); VISIBILITY: hidden"></DIV>
<DIV id=text2></DIV></body>
</html>
<SCRIPT>
<!--
transeffect = 0;
theeffects = new Array(24);current_image = "image1";
function Clicked()
{
setTimeout("Clicked()",2000)
var the_image, the_other;
text2.style.visiblity="hidden";
if (image1.style.visibility=="inherit")
{
the_image = image2;
the_other = image1;
}
else
{
the_image = image1;
the_other = image2;
}
the_other.style.visibility="hidden";
the_image.filters.item(0).Apply();
the_image.filters.item(0).Transition = transeffect;
the_image.filters.item(0).Play(2.0);
the_image.style.visibility="inherit";
text2.innerText=theeffects[transeffect];
transeffect++;
if (transeffect == 24)
transeffect = 0;
text2.style.visibility="visible";
}
//-->
</SCRIPT>
<DIV id=image>
<DIV id=text1></DIV>
<IMG id=image2 src="054.gif"
style="FILTER: revealTrans(Duration=3.0,Transition=1); VISIBILITY: hidden"> <img id=image1
src="054.gif"
style="FILTER: revealTrans(Duration=3.0,Transition=1); VISIBILITY: hidden"></DIV>
<DIV id=text2></DIV></body>
</html>
<IMG id=image2 src="054.gif"
style="FILTER: revealTrans(Duration=3.0,Transition=1); VISIBILITY: hidden"> <img id=image1
src="054.gif"
style="FILTER: revealTrans(Duration=3.0,Transition=1); VISIBILITY: hidden">中的054.gif改为你自己的图片的地址
<body bgcolor="#fef4d9" onload="Clicked()">
<SCRIPT>
transeffect = 0;
function Clicked()
{
setTimeout("Clicked()",2000)
var the_image, the_other;
the_image = image;
the_image.style.visibility="hidden";
the_image.filters.item(0).Apply();
the_image.filters.item(0).Transition = transeffect;
the_image.filters.item(0).Play(2.0);
the_image.style.visibility="inherit";
transeffect++;
if (transeffect==24) transeffect = 0;
}
</SCRIPT><IMG id=image src="054.gif" style="FILTER: revealTrans(Duration=3.0,Transition=1); VISIBILITY: hidden"></body>
</html>
<SCRIPT>
settime = 1; //翻转速度(秒)
transeffect=0;
function imgPlay()
{
setTimeout("imgPlay()",settime*1000)
var the_image;
the_image = image;
the_image.style.visibility="hidden";
the_image.filters.item(0).Apply();
the_image.filters.item(0).Transition = transeffect;
the_image.filters.item(0).Play(settime);
the_image.style.visibility="inherit";
transeffect++;
if (transeffect==24) transeffect=0;
}
</SCRIPT><IMG id=image src="054.gif" style="FILTER: revealTrans(Duration=3.0,Transition=1); VISIBILITY: hidden"></body>
</html>
setTimeout("imgPlay()",settime*1000);
改成:
var lotime = setTimeout("imgPlay()",settime*1000);
改成:
var lotime = setTimeout("imgPlay()",settime*1000);
还是不行,你去掉图片后对比一下效果就知道了
:(