仿百度焦点轮换兼容各种IE(3)
来源:未知 责任编辑:责任编辑 发表时间:2014-05-20 18:33 点击:次
'imgUrl':'http://news/photo/upload/2012261511532012.jpg'
});
imgList.push({
'title':'11矽肺民工维权 等待中5人离世',
'url':'http://news.xinmin.cn/rollnews/2009/08/08/2351299.html',
'imgUrl':'http://news/upload/2012261511532012.jpg'
});
var navObj = new BdScrollImage.Navigator(
document.getElementById('imgNav'), true),
imgView = new BdScrollImage.View(
document.getElementById('imgView'), imgList),
titleObj = new BdScrollImage.Title(
document.getElementById('imgTitle'), imgList),
bdIL = new BdScrollImage.ImageList(imgList),
bdSC = new BdScrollImage.Controller(5000);
bdSC.addObserver(navObj);
navObj.addObserver(imgView);
navObj.addObserver(titleObj);
navObj.addObserver(bdSC);
imgView.addObserver(bdSC);
titleObj.addObserver(bdSC);
navObj.registerEvent();
imgView.registerEvent();
titleObj.registerEvent();
bdSC.registerEvent();
navObj.setCurrent(1);
bdIL.init();
//-->
</script>
</td>
<td width="153">sdfasdfsadf</td>
</tr></table>
</body>
</html>
摘自 skydog
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>