<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