如何在网页打开的时候把地址栏等去掉? http://www.csdn.net/expert/topic/1065/1065988.xml?temp=.1665766 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 var a = window.open("","",'width=650,height=420,scrollbars=no,resizable=yes')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> <SCRIPT language=Javascript1.2 type=text/javascript><!--function addbook(){alert("IE only")}var mode=0var 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)> 像hao123个性设置收藏夹怎么搞的呢 在firefox中文本框无法获得焦点 如何判断面面是关闭还是刷新呢? 如何获得网页上选中的文本??? 为什么一次提交会出现两个页面?如何避免 大虾们 帮帮我写个用javascript控制CSS里面的alpha 急,如何用按钮调出openDialog? 请教:如何得到光标在屏幕(浏览器中)上的坐标。先谢谢啦! 急问!!! Ajax的东西显示的是object,我想要显示jsp的东西 怎样获得服务器的时间并用农历显示出来? 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)>