具體實現代碼如下:
代碼如下: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<body>
<script type="text/javascript" src="js/swfppt.js"></script>
<script type="text/javascript">
//<!CDATA[[
loadswfppt({width:400,height:450,text_height:0,
pic:[
{img:'images/banner1.jpg',text:'01',link:'img3.html'},
{img:'images/banner2.jpg',text:'02',link:'img4.html'},
{img:'images/banner3.jpg',text:'03',link:'img5.html'}
]});
//]]>
</script>
</body>
</html>
運行效果如下圖所示: