http://www.csdn.net/expert/topic/1065/1065988.xml?temp=.1665766
解决方案 »
- Ext中treeGrid重新加载时生成两颗树
- Ext JS在window弹出窗口中嵌套一个grid
- 求助 ExtJS
- 求一个tabpanle 的JS 版本
- ie下的JS特效
- 这句话要如何翻译
- 如何用javascript打开记事本,然后往里面添加10行数据?
- VBScript:Set RegWsh = CreateObject("WScript.Shell")翻译成JavaScript是否是:var RegWsh = new ActiveXObject("WScript.Shell");
- 虚心求教,请大家帮忙:用vml生成带箭头的直线??
- 将字符串“aa”转成对象变量怎么做?用哪个函数 在ASP中又如何做呢!谢谢
- 怎样获得服务器的时间并用农历显示出来?
- text显示为平面形式,如果将其显示为编辑框(即有边框形式)??
with(a.document)
{
open()
write("您的内容")
close()
}
<html>
<head>
<title> Loading......</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META HTTP-EQUIV="refresh" CONTENT="10">
<link rel="stylesheet" href="style.css">
<script language='javascript'>
function test()
{min.Click();}
//--
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<OBJECT id="min" type='application/x-oleobject' classid='clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11'>
<param name='Command' value='Close'>
</object>
<script language='javascript'>
document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#000000">');
document.write('<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#FFFFFF">');
document.write('<tr><td align="center" valign="middle">');
document.write('<font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>已经登录系统, 可以关闭此窗口...... </b></font>');
document.write('<br>(Logined,Please close this window...) </font>');
document.write(' </td></tr></table></td></tr></table>');
test();
window.open('你的页面.htm','','resizable=1,scrollbars=0,status=1,menubar=no,toolbar=no,location=no, menu=no');
</script></body>
</html>
function addbook(){
alert("IE only")}
var mode=0
var old=new Array();
function fullme(e){
if(mode==0){
if(typeof document.all!='undefined'){
if(top.document.body.offsetWidth==screen.availWidth){
alert("信息提示:你的浏览器已被锁定视窗最大化,无法启用全屏模式!");
e.returnValue=false;
return false;
}
top.moveBy(e.clientX-e.screenX,e.clientY-e.screenY);
top.resizeBy(screen.availWidth-top.document.body.offsetWidth,
screen.availHeight-top.document.body.offsetHeight);
}else{
window.top.moveTo(0,0);
window.top.resizeTo(screen.availWidth,screen.availHeight);
old[0]=window.toolbar.visible;
old[1]=window.statusbar.visible;
old[2]=window.menubar.visible;
window.toolbar.visible=false;
window.statusbar.visible=false;
window.menubar.visible=false;
}
mode=1;
}else{
if(typeof document.all!='undefined'){
top.moveTo(0,0);
top.resizeTo(screen.availWidth,screen.availHeight);
}else{
window.toolbar.visible=old[0];
window.statusbar.visible=old[1];
window.menubar.visible=old[2];
}
mode=0;
}
return true;
}
--></SCRIPT>
<body onload=fullme(event)>