📄 0150.htm
字号:
<HTML><HEAD><TITLE>ChromelessWindows v2.1 使用指南</TITLE><META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK href="../../../fav.ico" rel="shortcut icon"><STYLE type=text/css>BODY { MARGIN: 25px 25px 25px}#all TD { FONT-SIZE: 14px; LINE-HEIGHT: 18px; FONT-FAMILY: "宋体"}INPUT { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"}SELECT { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"}P { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"}TEXTAREA { FONT-SIZE: 14px; LINE-HEIGHT: 18px; FONT-FAMILY: "宋体"}#all A:active { COLOR: #7d070c}#all A:visited { COLOR: #7d070c}#all A:hover { COLOR: #336699}#all A:link { COLOR: #7d070c}</STYLE><SCRIPT language=JavaScript><!--function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");}function JM_cc(ob){var obj=MM_findObj(ob); if (obj) { obj.select();js=obj.createTextRange();js.execCommand("Copy");}}function MM_findObj(n, d) { //v4.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && document.getElementById) x=document.getElementById(n); return x;}//--></SCRIPT><META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD><BODY id=all text=#000000 bgColor=#336699><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TR bgColor=#ffffff> <TD><IMG src="../../../images/sq_1.gif" width=11 height="14"></TD> <TD width="100%"></TD> <TD><IMG src="../../../images/sq_2.gif" width=11 height="14"></TD> </TR></TABLE><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TR bgColor=#ffffff> <TD><IMG src="../../../images/space.gif" width=11 height="1"></TD> <TD width="100%"> <table width="100%" border="0" cellpadding="8"> <tr> <td align="center"> <script language="JavaScript">document.write("<font color=#7d070c style=\"font-size: 14px\">"+document.title+"</font>");</script> </td> </tr> <tr> <td bgcolor="#f7f7f7"><font color="#990000"> <script language="javaScript" type="text/javascript" SRC="js/pz_chromeless_2.1.js"></SCRIPT> <script language=Javascript>function hover(id,wert){if(document.all) document.all[id].filters.alpha.opacity = wert;}</script> <script><!--function openIT() { theURL="service.htm" wname ="51JS" W=500; H=160; windowCERRARa = "img/close_a.gif" windowCERRARd = "img/close_d.gif" windowCERRARo = "img/close_o.gif" windowNONEgrf = "img/vficon.gif" windowCLOCK = "img/clock.gif" windowREALtit = "------| Chromeless Windows V2.1 |" windowTIT = "<font style=\"font-size:12px;font-family:Verdana\">------| 51JS.COM |</font>" windowBORDERCOLOR = "#000000" windowBORDERCOLORsel = "#111111" windowTITBGCOLOR = "#D7DCD9" windowTITBGCOLORsel = "#FFFFFF" openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)}function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function MM_findObj(n, d) { //v3.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;}function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}//--></script> 提示</font>:上一次的<a href="../0146.htm" target=_blank>ChromelessWindows使用指南</a>与<a href="../../../../tantom.oso.com.cn/jsexamples.php-action=view&tips_id=124">SplashWindow应用 </a>写得可能太复杂了,这次通过对新版的2.1版,我把使用教程简化了很多,你只需要二步就可以做出chromlessWindow了.首先大家可能想看2.1版本的效果 <input type="button" name="Button" value="点这里查看" onclick=openIT()> </td> </tr> <tr> <td><img src="../imgs/step.gif" width="30" height="30"> 把下面的代码复制到文件 <font color="#990000">index.htm</font> 文件的<head>当中 (为了方便解说,我把这个文件命名为index.htm大家不一定要用这个文件名的) <br> <table width="100%" border="0" cellspacing="0" cellpadding="7" bgcolor="#dddddd"> <tr> <td></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="7" bgcolor="#f7f7f7"> <tr> <form name="form1" method="post" action=""> <td> <textarea name="js_1" wrap="VIRTUAL" cols="80" rows="10"><script language="javaScript" type="text/javascript" SRC="js/pz_chromeless_2.1.js"></SCRIPT><script language=Javascript>function hover(id,wert){if(document.all) document.all[id].filters.alpha.opacity = wert;}</script><script><!--function openIT() {//下面开始设置CW窗口的各种属性theURL="service.htm" //显示主要内容的文件wname ="51JS" //窗口的名字W=500; //窗口的宽度H=160; //窗口的高度windowCERRARa = "img/close_a.gif" //关闭窗口的图片_awindowCERRARd = "img/close_d.gif"windowCERRARo = "img/close_o.gif"windowNONEgrf = "img/vficon.gif" //标题栏的图标windowCLOCK = "img/clock.gif" //时钟图片windowREALtit = "------| Chromeless Windows V2.1 |" windowTIT = "<font style=\"font-size:12px;font-family:Verdana\">------| 51JS.COM |</font>" //标题文字windowBORDERCOLOR = "#000000" //边框颜色windowBORDERCOLORsel = "#111111" //按下标题栏进行拖动时边框的颜色windowTITBGCOLOR = "#D7DCD9" //标题栏的底色windowTITBGCOLORsel = "#FFFFFF" //按下标题栏进行拖动标题栏的底色//设置完毕openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)}function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; }function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} }function MM_findObj(n, d) { //v3.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x; }function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script></textarea> <input type="button" name="Button2" value="复制到我的剪贴板" onClick=JM_cc('js_1')> </td> </form> </tr> </table> <br> <img src="../imgs/step2.gif" width="30" height="30"> <a href="zip.zip">点这里下载启动程序所需要的文件</a>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -