?? templatechild.html
字號(hào):
<!--xWin Child Window Template File-->
<html>
<!--
xWindows for Laputa System
auther: Jangogo Chan Q108112937
copyright: 4Fang Technology 廣州海然數(shù)碼科技有限公司
date created : 2006-12-08
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Help</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="laputaxWinChild.js"></script>
<script language=javascript>
//xWin.move(0.5,0.5,200,200);
function repos(){
var headerHeight=50;
$("WinBody").style.height=(document.body.clientHeight-headerHeight)+"px";
$("WinBody").style.top=headerHeight+"px";
}
function init(){
var liforgetdate= new Date();
$('WinBody').src="http://www.laputac.com/bbs/index.asp";
repos();
}
window.onresize=repos;
</script>
</head>
<body style="overflow:hidden;boder:0;" onLoad="init();">
<div class="iframehead" id="HeadDiv" >
<div class="positiontLeft">
<ul>
<li style=" width:300px;height:50px; line-height:50px; text-align:left; padding-top:10px;" class="positiont"><img style="margin-bottom:-5px;" src="images/positiont.gif" width="30" height="30" /><span id=Title>Help</span></li>
</ul>
</div>
</div>
<!-- xWin Caption/Toobar -->
<div class="xWin-title-bar" id="xWin-title-bar" onMouseDown="xWin.drag();" onDblClick="xWin.maximize();"></div>
<div class="window-positiont" id="big-small-close-bg" ></div>
<div class="window-positiont">
<div class="big-small-close" onMouseOver="this.className='big-small-close-over';" onMouseOut="this.className='big-small-close';" onClick="Util.help();"></div>
<div class="big-small-close" onMouseOver="this.className='big-small-close-over';" onMouseOut="this.className='big-small-close';" onClick="xWin.minimize();"></div>
<div class="big-small-close" onMouseOver="this.className='big-small-close-over';" onMouseOut="this.className='big-small-close';" onClick="xWin.maximize();"></div>
<div class="big-small-close" onMouseOver="this.className='big-small-close-over';" onMouseOut="this.className='big-small-close';" onClick="xWin.close();"></div>
</div>
</body>
<div id="WinBody" style="background:white;border:0;overflow:auto;width:100%; position:absolute;left:0;padding:5px">
<font color="#FF0000" size="3"><b>Usage:
</b></font>
<p><b>1.MDI Main Window</b><br>
Add laputaxWinChild.js and laputaxWinMain.js to the mdi main win-page<br>
Add style.css and xWin.css to the mid main win-page too.<p><b>2.MDI Child
Window</b><br>
Add laputaxWinChild.js and Add style.css to each mdi child win-page.
recommand u to use THIS page as a template to create your own new page<br>
<br>
<b>3.Build your own desktop-page and startmenu-page</b><p><b>4. APIs:</b><p>
<font color="#FF0000"> xWin.create</font>(sURL,width,height,modal,fixed,sName)<br>
this function to open a new mdi child window<br>
sURL : url for the new child window<br>
modal : if set this value into true, the new mdi child window
will be a modal one<br>
fixed : if set this value into true, the new mdi child window
will NOT be resized at run time
<p> <font color="#FF0000">xWin.close</font>()<br>
close the mdi child window<p>
<font color="#FF0000">xWin.maximize</font>()<p> <font color="#FF0000"> xWin.minimize</font>()<p>
xWin.move(top,left,width,height)<br>
reset the window position and size<br>
<br>
<font color="#FF0000">xWin.setTitle</font>(sNewTitle)<br>
change the Title/Caption<br>
<br>
<font color="#FF0000">xWin.frontMe</font>()<br>
bring the window to the front<br>
<br>
enjoin! :)
<p> LaputacTeam 2007.
<a href="javascript:xWin.create('license.html',500,400,true)">please check the License
agreement before u use this code</a><p> </div>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -