<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