?? 13.htm
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<html>
<head>
<meta content="text/html; charset=gb2312" http-equiv="Content-Type">
<title>教學單元 13 : 另外開啟新視窗</title>
<meta content="Rock Jack" name="Author">
<meta content="【傑克資訊站 - FLASH】版權所有" name="Copyright">
<meta content="Microsoft FrontPage 4.0" name="GENERATOR">
<style>
<!--
A:link {text-decoration: none; color: "blue"}
A:visited {text-decoration: none; color: "#000000"}
A:active {text-decoration: none;color:"black"}
A:hover {text-decoration: underline; color: ff0000}
-->
</style>
<style type="text/css">
<!--
p{font-size:9pt;line-height;13pt;}
td { font-size: 9pt ; line-height:13pt;
}
A{text-transform: none;
text-decoration: none;font-size: 9pt ; line-height:13pt;}
-->copyright fangame
</style></head>
<body bgColor="#ffffff" style="FONT-SIZE: 9pt">
<p align="center">教學單元 13 : 另外開啟新視窗</p>
<hr SIZE="0">
<p>1. 若您不想透過 GetURL 之目的視窗:_blank
開啟新的視窗 , 而想控制視窗的大小、狀態列、工具列....</p>
<hr SIZE="0">
<p>2. 編輯 Flash 動畫檔之 .htm 內容 , 在 HTML
適當位置 , 插入一段 JavaScript 程式 ,
用來開啟一個新視窗 , 此視窗可以依你的需要 ,
調整是否使用狀態列、工具列等等...</p>
<p><SCRIPT LANGUAGE=JavaScript><br>
<!--<br>
function test()<br>
{<br>
test=window.open("test.htm","test","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=600,height=400");<br>
}<br>
//--><br>
</SCRIPT></p>
<p>註 :<br>
test() 對應於 javascript:test()<br>
test.htm 欲開啟的檔案<br>
test 此視窗的名稱<br>
紫色部分 請依自己的需要做調整</p>
<hr SIZE="0">
<p>3. 接著修改你的 Flash 動畫中的按鈕 , 在 GetURL
網址欄位中 , 輸入 javascript:test()
, 目的視窗不用輸入 !</p>
<hr SIZE="0">
<p>4. 這就是「另外開啟新視窗」的另一個方法
!</p>
<hr SIZE="0">
<p align="center">Copyright @ 1999 <a href="mailto:jk@a-vip.com">Rock Jack</a> All rights
reserved.</p>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -