importwin.ui;/*DSG{{*/varwinform = ..win.form(text=”webkit浏览器支持库”;right=544;bottom=362;border=”none”)
winform.add()/*}}*///导入webkit支持库importweb.kit.form;//创建webkit浏览器窗口varwbKitView = web.kit.form(winform);
wbKitView.external = {
hitmin =function(){returnwinform.hitmin();
}
hitmax =function(){returnwinform.hitmax()
}
hitCaption =function(){returnwinform.hitCaption()
}
close =function(){returnwinform.close()
}
};
wbKitView.html =/**
html,body{
margin:0;
background:#fff;
height:100%;
}
*{
-webkit-user-select: none;
}
/*标题栏*/
#header{
position:absolute;
top:0px;
left:0px;
height:28px;
width:100%;
background:rgb(52,152,220);
cursor:default;
}
/*中间内容栏*/
#container{
box-sizing:border-box;/*使高度包含padding*/
height:100%;
width:100%;
padding-top:28px;
padding-bottom:35px;
margin:0 auto;
overflow:auto;
}
/*底栏*/
#footer {
height:35px;
width:100%;
position: absolute;
bottom:0;
left:0;
z-index:100;
background:rgb(239,237,238);
text-align:right;
padding:3px 5px;
box-sizing:border-box;
}
/*中间内容栏 左侧列*/
#container .lside{
height:100%;
width:150px;
float:left;
background:rgb(110,179,210);
}
/*中间内容栏 右侧列*/
#container .rside{
height:100%;
margin-left:150px;
background:#FFF;
}
#footer button{
padding:4px 13px;
font-size:12px;
background:rgb(27,174,93);
color:white;
border:0;
}
#footer button:hover {
background:rgb(33,127,188);
box-shadow: 0 0 5px rgba(81, 203, 238, 1);
cursor:pointer;
}
#footer button:active {
background:rgb(20,110,170);
cursor:pointer;
}
#header .title-bar{
margin-right:75px;
padding-left:10px;
height:28px;
line-height: 28px;
font-size:9pt;
color:#eee;
}
#header .ctrls{
width:75px;
height:28px;
float:right;
}
#header .ctrls a{
display:block;
float:left;
height:14px;
font-size:14px;
padding:4px;
color:#fff;
cursor:default;
}
#header .ctrls a[id]:hover{
background:#6ebccf;
}
#header .ctrls a[id]:active{
background:#FF0000;
}
0
1
r
我 的 软 件
点击这里
**///添加可拖动边框importwin.ui.resizeBorder;
win.ui.resizeBorder(winform);//添加阴影importwin.ui.shadow;
win.ui.shadow(winform);//限定最大化范围importwin.ui.minmax;
win.ui.minmax(winform);
winform.show();
win.loopMessage();
相关资源:Ztrans丹诚软件Z39.50客户端-其它工具类资源-CSDN文库
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!