免费asp空间┊免费php空间┊免费htm空间 ┊免费杀毒软件┊免费电影┊建站资源
当前位置: 迷失免费网 » 站长资讯 » 编程代码 » 阅读:大幅自动更换图片广告JS代码[效果见演示]

[三百条免费短信任你发] | [免费Q币最新获取实用方法] | [注册就送1Q币]

大幅自动更换图片广告JS代码[效果见演示]

[ 来源:网络 作者:longs 察看:0 时间:2007-9-24 ]

详细代码:演示见http://free.miss8.com/adjs/ad03/
QQ空间个性留言代码
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>图片自动更换JS代码-迷失免费吧</title>
<style type="text/css">
img {border:0px;}
</style>
</head>

<body>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>   <div id=oTransContainer 
            style="FILTER: progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=0, motion='forward'); WIDTH: 

165px; HEIGHT: 103px"><a href="http://www.miss8.com/" target="_blank"><img class=pic id=oDIV1 src="images/01.jpg" width=788 

height=150>
            <script>var NowFrame = 1;var MaxFrame = 5;var bStart = 0;function fnToggle(){var next = NowFrame + 1;if(next == 

MaxFrame+1) {NowFrame = MaxFrame;next = 1;}if(bStart == 0){bStart = 1;setTimeout('fnToggle()', 2000);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>
    </a>
<a href="http://www.miss8.com/" target="_blank"><img class=pic id=oDIV2 src="images/02.jpg" width=788 height=150 

style="DISPLAY: none;"></a>
<a href="http://free.miss8.com/" target="_blank"><img class=pic id=oDIV3 src="images/03.jpg" width=788 height=150 

style="DISPLAY: none;"></a>
<a href="http://free.miss8.com/" target="_blank"><img class=pic id=oDIV4 src="images/04.jpg" width=788 height=150 

style="DISPLAY: none;"></a>
<a href="http://www.miss8.com/" target="_blank"><img class=pic id=oDIV5 src="images/05.jpg" width=788 height=150 

style="DISPLAY: none;"></a>
  </div></td>
  </tr>
</table>
</body>
</html>
(本文从网络中收集,内容仅代表作者观点,如有侵权内容,请联系我们删除)