大可论坛吧 关注:2贴子:460
  • 2回复贴,共1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>图片渐变</title>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="255" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td width="255">
<CENTER>
        <DIV id=oTransContainer 
                  style="FILTER: progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0, 
                  wipeStyle=0, motion='forward'); WIDTH: 165px; HEIGHT: 103px"><a href="http://et.21cn.com/star/zhuixing/gangtai/2005/04/28/2101569.shtml" target="_blank"><img 
                  id=oDIV1 
                  style="BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-BOTTOM: black 1px solid" 
                  height=206 
                  src="http://et.21cn.com/topic/star/picture/01.jpg
                  width=255 border=0></a> <a href="http://et.21cn.com/star/zhuixing/index.shtml" target="_blank"><IMG 
                  id=oDIV2 
                  style="BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; DISPLAY: none; BORDER-LEFT: black 1px solid; BORDER-BOTTOM: black 1px solid" 
                  height=206 
                  src="http://et.21cn.com/topic/star/picture/02.jpg
                  width=255 border=0></a><a href="http://et.21cn.com/star/zhuixing/gangtai/2005/04/28/2101807.shtml" target="_blank"><img 
                  id=oDIV3 
                  style="BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; DISPLAY: none; BORDER-LEFT: black 1px solid; BORDER-BOTTOM: black 1px solid" 
                  height=206 
                  src="http://et.21cn.com/topic/star/picture/03.jpg
                  width=255 border=0></a> </DIV>
      </CENTER>
      <SCRIPT>
var NowFrame = 1;
var MaxFrame = 3;
var bStart = 0;

function fnToggle() {
var next = NowFrame + 1;

if(next == MaxFrame+1) 
{
NowFrame = MaxFrame;
next = 1;
}

if(bStart == 0)
{
bStart = 1;

setTimeout('fnToggle()', 6000);

return;
}
else
{
    oTransContainer.filters[0].Apply();

document.images['oDIV'+next].style.display = "";
document.images['oDIV'+NowFrame].style.display = "none"; 

oTransContainer.filters[0].Play(duration=2);

if(NowFrame == MaxFrame) 
NowFrame = 1;
else
NowFrame++;
} setTimeout('fnToggle()', 6000);
}

fnToggle();
</SCRIPT> </td>
  </tr>
</table>
</body>
</html>



1楼2005-04-28 22:28回复
    • 222.84.108.*
    不错


    2楼2006-03-04 17:14
    回复
      • 221.14.174.*
      很好


      3楼2007-12-09 20:12
      回复