步骤 一 - 下载并解压这个 文件 到你的Flash按钮所在目录.
步骤 二 - 在你的Flash按钮上加入下面的Action:
on (release) {
getURL ("javascript:openIT()");
}
步骤 三 - 按F12发布你的Flash按钮和Html文件,然后在Html文件的<head>...</head>之间加入下面的javascript代码:
<script language="javascript" type="text/javascript" SRC="java.js"></SCRIPT>
<script>
function openIT() {
theURL="yourpage.html"
wname ="CHROMELESSWIN"
W=300;
H=100;
windowCERRARa = "close_a.gif"
windowCERRARd = "close_d.gif"
windowCERRARo = "close_o.gif"
windowNONEgrf = "none.gif"
windowCLOCK = "clock.gif"
windowREALtit = " ? Task title"
windowTIT = "<font face=verdana size=1> your chromless</font>"
windowBORDERCOLOR = "#000000"
windowBORDERCOLORsel = "#000000"
windowTITBGCOLOR = "#FF0033"
windowTITBGCOLORsel = "#FF0033"
openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
</script>
步骤 四 - 最后你可以对javascript代码进行一些修改,达到你满意的效果.然后在浏览器中预览一下吧!Good Luck!
步骤 二 - 在你的Flash按钮上加入下面的Action:
on (release) {
getURL ("javascript:openIT()");
}
步骤 三 - 按F12发布你的Flash按钮和Html文件,然后在Html文件的<head>...</head>之间加入下面的javascript代码:
<script language="javascript" type="text/javascript" SRC="java.js"></SCRIPT>
<script>
function openIT() {
theURL="yourpage.html"
wname ="CHROMELESSWIN"
W=300;
H=100;
windowCERRARa = "close_a.gif"
windowCERRARd = "close_d.gif"
windowCERRARo = "close_o.gif"
windowNONEgrf = "none.gif"
windowCLOCK = "clock.gif"
windowREALtit = " ? Task title"
windowTIT = "<font face=verdana size=1> your chromless</font>"
windowBORDERCOLOR = "#000000"
windowBORDERCOLORsel = "#000000"
windowTITBGCOLOR = "#FF0033"
windowTITBGCOLORsel = "#FF0033"
openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
</script>
步骤 四 - 最后你可以对javascript代码进行一些修改,达到你满意的效果.然后在浏览器中预览一下吧!Good Luck!
回复Comments
作者:
{commentrecontent}