1、js代码
<SCRIPT language=javascript> var objgDiv = new Marquee(); objgDiv.parentDiv ="indexpic"; objgDiv.mainDiv = "indexpicbody"; objgDiv.speed = 10; objgDiv.direction = "left"; objgDiv.pausedistance = 1; objgDiv.pauseTime = 1; objgDiv.startStatus =0; objgDiv.parentdivWidth=530; objgDiv.parentdivHeight=130; objgDiv.start(); objgDiv=null; </SCRIPT>
2、内容
<DIV id=indexpic> <DIV id=indexpicbody> 滚动图片内容等<img> </DIV> </DIV>