js切换不同的flash(非图片)
我想在页面上,利用JS隔几秒就切换一个FLASH。意思就是轮流在同一个位置显示不同的FLASH。该如何做呢?用DIV的setInterVal 来innerHTML蛮耗客户机的资源的!
------解决方案--------------------div 是html
setInterVal 是js函数
都还是用JS吧
------解决方案--------------------http://www.carsclub.com.cn/car.php?id=15
参考下
<div id= "flash_img " style= "width:260px; height:128px; "> </div>
<div style= "padding:5px "> <img src= "images/page_prev.gif " style= "cursor:hand " onclick= "showPrevImage() " title= "上一张 " /> 点击图片查看大图 <img src= "images/page_next.gif " style= "cursor:hand " onclick= "showNextImage() " title= "下一张 " /> </div>
<script language= "javascript " src= "js/imageplay.js "> </script>
<script language= "javascript ">
<!--
fImgs[fImgs.length] = {title: "大众帕萨特 ",img: "upload/images/sell/2007-09-15/11918039301.gif ",href: "upload/images/sell/2007-09-15/1191803930.jpg "};
fImgs[fImgs.length] = {title: "大众帕萨特 ",img: "upload/images/sell/2007-09-15/11958671601.gif ",href: "upload/images/sell/2007-09-15/1195867160.jpg "};
fImgs[fImgs.length] = {title: "大众帕萨特 ",img: "upload/images/sell/2007-09-15/11900132811.gif ",href: "upload/images/sell/2007-09-15/1190013281.jpg "};
window.document.body.onload = new function(){
imagePlay();
}
//-->
</script>
------解决方案--------------------只能想到setInterVal