⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 openwin_2.1.js

📁 基于asp的 班级同学录主页源代码
💻 JS
📖 第 1 页 / 共 3 页
字号:
function openchromeless(theURL, wname, W, H, CLOSEdwn, CLOSEup, CLOSEovr, NONEgrf, CLOCKgrf, winTIT, winREALtit , winBORDERCOLOR, winBORDERCOLORsel, winBGCOLOR) {
var windowW = W;var windowH = H;var windowX = Math.ceil( (window.screen.width  - windowW) / 2 );var windowY = Math.ceil( (window.screen.height - windowH) / 2 );
if (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion)>=4) isie=trueelse											     isie=false
if (isie) { H=H+22+10+2; W=W+10+10+2; }
s = ",width="+W+",height="+H;
if (isie && (navigator.userAgent.toLowerCase().indexOf("win")!=-1) ) {
var dowin = theURL != "" ? true : false;
var chromeTIThtml = '\n' +'<html>																							'+ '\n'+'<head>                                                                                                                                                                         	'+ '\n'+'<title>&nbsp;CHROMELESS WINDOWS / TITLEBAR</title>                                                                                                                      		'+ '\n'+'<style type="text/css">                                                                                                                                                  	    	'+ '\n'+'#mywinTITLE 	{ position: absolute; left:   0px; top:   0px; width: 100%; height: 22px; z-index: 1; background-color: '+winBGCOLOR+'; clip:rect(0,100%,22,0); }         		'+ '\n'+'#mywindow 	{ position: absolute; left:   0px; top:   0px; width: 100%; height: 22px; z-index: 2;                           	clip:rect(0,100%;22,0); }	 		'+ '\n'+'#mywindowCLOSE { position: absolute; left: -22px; top: -22px; width: 11px; height: 11px; z-index: 3;                           	clip:rect(0,11,11,0);   }         		'+ '\n'+'#myCLOCKgrf 	{ position: absolute; left: -22px; top: -22px; width: 11px; height: 11px; z-index: 3;                            	clip:rect(0,11,11,0);   }         		'+ '\n'+'</style>                                                                                                                                                                       	'+ '\n'+'<script language="javascript">																				'+ '\n'

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -