为了给客户更好的体验,我们都希望自己做的项目拥有web项目的方便,有app程序的效率及外观。
今儿就记录下打造app外观的web项目。
<html>
<head>
<script language="javascript">
function modelOpen(){
window.moveBy(window.screen.width, window.screen.height);
var obj = new Object();
showModalDialog("index.html",obj, "dialogHeight:700px;dialogWidth:1018px;help:off;border:thin;status:no");
showModalDialog("logout.html", obj, "dialogHeight:300px;dialogWidth:450px;help:off;border:thin;status:no");
window.open('','_self');
window.opener =null;
window.close();
}
</script>
</head>
<body onload="modelOpen();">
</body>
</html>