框分类:人性化的同城分类信息系统,我们永远站在用户的角度!一次性购买,终身升级!    [交流论坛]
发新话题 回复该主题

【交流】首页JS幻灯片共享 [复制链接]

1#
***** 该内容需会员回复才可浏览 *****
<link rel="stylesheet" type="text/css" href="css/lrtk.css" />
<script type="text/javascript" src="js/pptBox.js"></script>

以上放到两个head之间

<div id="xxx"  >
     <script>
     var box =new PPTBox();
     box.width = 230; //宽度
     box.height = 220;//高度
     box.autoplayer = 3;//自动播放间隔时间

     //box.add({"url":"图片地址","title":"悬浮标题","href":"链接地址"})
     box.add({"url":"images/tu1.jpg","href":"http://www.fohol.cn/","title":"悬浮提示标题1"})
     box.add({"url":"images/tu2.jpg","href":"http://www.fohol.cn/","title":"悬浮提示标题2"})
     box.add({"url":"images/tu3.jpg","href":"http://www.fohol.cn/","title":"悬浮提示标题3"})
     box.add({"url":"images/tu4.jpg","href":"http://www.fohol.cn/","title":"悬浮提示标题4"})
     box.show();
    </script>
</div>
以上放到body之间你想要显示的位置

演示:http://www.fohol.cn
最后编辑whp1117 最后编辑于 2013-03-22 08:57:40
分享 转发
汾湖信息网-http://www.fohol.cn
OK拍商城-http://www.okpai.net
TOP
发新话题 回复该主题