?? flashfocus.html
字號:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>flash圖片輪播</title>
<script type="text/javascript" src="js/swfobject.js"></script>
<style type="text/css">
body{font-size:75%}
</style>
</head>
<body>
<div id="focus">
<p><strong>Welcome to yoursite.com</strong></p>
<p>We have detected that you do not have the Flash 7 player installed.</p>
<p>Please <a href="http://www.adobe.com/go/getflashplayer" target="_blank">Click Here</a>
to download the Flash plugin.</p>
</div>
<script type="text/javascript">
//所有參數都用半角逗號分隔
var so = new SWFObject("focus.swf", "focus", "600", "164", "7", "#ffffff");//600是寬度,164是高度
so.addParam('wmode','transparent');
so.addVariable("picurl","img/1.jpg,img/2.jpg,img/3.jpg");//圖片路徑
so.addVariable("pictext","圖片一,圖片二,圖片三");//圖片下介紹文字
so.addVariable("piclink","#,#,#");//鏈接地址,無鏈接為#
so.addVariable("pictime","5,10,5");//圖片顯示時間間隔
so.addVariable("borderwidth","600");//600是寬度
so.addVariable("borderheight","164");//164是高度
so.addVariable("borderw","true");//邊框是否顯示
so.addVariable("buttondisplay","true");//導航按鈕是否顯示
so.addVariable("textheight","20");//文字高度,如果不想顯示,則設為0
so.addVariable("loadingbar","true");//進度條是否顯示
so.addVariable("loadingtext","true");//進度條文字是否顯示
so.write("focus");
</script>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -