[求助]怎样使弹出的窗体没边框!十万火急!!!

NJ飞鱼 2003-04-28 04:28:33
没有最小化,最大化以及没有关闭!除了内容,什么都没有!!

...全文
78 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
NJ飞鱼 2003-04-29
  • 打赏
  • 举报
回复
to fason:
我的显示内容不是静态页面,是Servlet返回的页面!应该这么作?谢谢!
fason 2003-04-28
  • 打赏
  • 举报
回复
<iframe src=2.html name=f5 style=display:none onload=f()></iframe>
<script>
function f(){
var oPopup = window.createPopup();
var oPopupBody = oPopup.document.body;
oPopupBody.style.border = "0px none"
oPopupBody.innerHTML = f5.document.body.innerHTML
oPopup.show(10,10,screen.width-20,screen.height-20)
}
</script>
fason 2003-04-28
  • 打赏
  • 举报
回复
window.createPopup()是ie5.5以上的新用法,可以考虑呀
NJ飞鱼 2003-04-28
  • 打赏
  • 举报
回复
to fason:
我的显示内容不是静态页面,是Servlet返回的页面!应该这么作?
NJ飞鱼 2003-04-28
  • 打赏
  • 举报
回复
各位大哥,我是要在此窗体中还要作编辑操作!
并且要应用于ie6上!烦一点无所谓,只要能实现!
zhangguagua 2003-04-28
  • 打赏
  • 举报
回复
用层模拟,可在层中放置iframe
Estyle 2003-04-28
  • 打赏
  • 举报
回复
不过IE6以后就不支持resizeTo()方法了!
所以,IE6要是用这个,直接打开一个全屏的网页,很烦!
Estyle 2003-04-28
  • 打赏
  • 举报
回复
最好这样:
<script>
window.open("","","fullscreen=yes").resizeTo(300,300)
</script>
fervv 2003-04-28
  • 打赏
  • 举报
回复

function verifyCompatibleBrowser(){
this.ver=navigator.appVersion
this.dom=document.getElementById?1:0
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
this.ie4=(document.all && !this.dom)?1:0;
this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;

this.ns4=(document.layers && !this.dom)?1:0;
this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
return this
}
bw=new verifyCompatibleBrowser()

var speed=50

var loop, timer

function ConstructObject(obj,nest){
nest=(!nest) ? '':'document.'+nest+'.'
this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0;
this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0;
this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight
this.clipHeight=bw.ns4?this.css.clip.height:this.el.offsetHeight
this.up=MoveAreaUp;this.down=MoveAreaDown;
this.MoveArea=MoveArea; this.x; this.y;
this.obj = obj + "Object"
eval(this.obj + "=this")
return this
}
function MoveArea(x,y){
this.x=x;this.y=y
this.css.left=this.x
this.css.top=this.y
}

function MoveAreaDown(move){
if(this.y>-this.scrollHeight+objContainer.clipHeight){
this.MoveArea(0,this.y-move)
if(loop) setTimeout(this.obj+".down("+move+")",speed)
}
}
function MoveAreaUp(move){
if(this.y<0){
this.MoveArea(0,this.y-move)
if(loop) setTimeout(this.obj+".up("+move+")",speed)
}
}

function PerformScroll(speed){
if(initialised){
loop=true;
if(speed>0) objScroller.down(speed)
else objScroller.up(speed)
}
}

function CeaseScroll(){
loop=false
if(timer) clearTimeout(timer)
}
var initialised;
function InitialiseScrollableArea(){
objContainer=new ConstructObject('divContainer')
objScroller=new ConstructObject('divContent','divContainer')
objScroller.MoveArea(0,0)
objContainer.css.visibility='visible'
initialised=true;
}
// end absolutely positioned scrollable area object scripts




function noBorderWin2()
{
var contents="<html>"+
"<head>"+
"<title>dictionary</title>"+
"<link rel=\"stylesheet\" href=\"body.css\" type=\"text/css\">"+
"</head>"+
"<body topmargin=0 leftmargin=0 scroll=no onselectstart='return false' ondragstart='return false'>"+
"<object id=setmin type=\"application/x-oleobject\" classid=\"clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11\">"+
"<param name=\"Command\" value=\"minimize\">"+
"</object>"+
"<object id=setclose type=\"application/x-oleobject\" classid=\"clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11\">"+
"<param name=\"Command\" value=\"close\">"+
"</object>"+
"<table width=\"457\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"+
"<tr style=cursor:default; onmousedown=\"x=event.x;y=event.y;setCapture();\" onmouseup=\"releaseCapture();\" onmousemove=\"if(event.button==1)self.moveTo(screenLeft+event.x-x,screenTop+event.y-y);\">"+
"<td align=\"left\" valign=\"bottom\">"+
"<img src=\"images/boofang_00.gif\" width=\"457\" height=\"32\" usemap=\"#Map\" border=\"0\">"+
"</td>"+
"</tr>"+
"<tr>"+
"<td>"+
"<iframe name=dic frameborder=\"0\" scrolling=\"no\" src=\"boofang.html\" width=457 height=340>"+
"</iframe>"+
"</td>"+
"</tr>"+
"</table>"+
"<map name=\"Map\">"+
"<area shape=\"circle\" coords=\"414,15,8\" onclick=\"setmin.Click()\">"+
"<area shape=\"circle\" coords=\"437,15,8\" onclick=\"setclose.Click()\">"+
"</map>"+
"</body>"+
"</html>";

var w=455;
var h =348;
pop=window.open("","_blank","fullscreen=yes");
pop.resizeTo(w,h);
pop.moveTo((screen.width-w)/2,(screen.height-h)/2);
pop.document.writeln(contents);

/* if(pop.document.body.clientWidth!=w||pop.document.body.clientHeight!=h)
{
temp=window.open("","nbw_v6");
temp.close();
window.showModalDialog("about:<"+"script language=javascript>window.open('','nbw_v6','fullscreen=yes');window.close();"+"</"+"script>","","dialogWidth:0px;dialogHeight:0px");
pop2=window.open("","nbw_v6");
pop2.resizeTo(w,h);
pop2.moveTo((screen.width-w)/2,(screen.height-h)/2);
pop2.document.writeln(contents);
pop.close();
}
*/
}
你看着改吧
fason 2003-04-28
  • 打赏
  • 举报
回复
ie5.5
<script language="JScript">
var oPopup = window.createPopup();
var oPopupBody = oPopup.document.body;
oPopupBody.style.border = "0px none"
oPopupBody.bgColor='#c0c0c0'
oPopupBody.innerHTML = "<img src=../banners/help.gif>"
oPopup.show(600,50,32,32)
</script>
NJ飞鱼 2003-04-28
  • 打赏
  • 举报
回复
to meizz:
可是我并不想最大化此窗体!
meizz 2003-04-28
  • 打赏
  • 举报
回复
window.open(""a.htm","","fullscreen=yes")
下载代码方式:https://pan.quark.cn/s/d5321a99c521 在信息技术网络架构领域,配置双块网卡于同一网络段内的静态路由是一项高级且具有实用价值的技术,其能够高效地管理和优化网络数据流,保障数据包能够沿最优路径传送,同时合理分配与控制内外网络资源的访问。本资料将详细阐述双块网卡同网络段静态路由的核心概念、配置机制及其应用实例。 ### 双块网卡同网络段静态路由概述 双块网卡同网络段静态路由指的是在一台主机上部署两个或更多网络接口卡(NICs),这些网卡可能接入同一个物理网络或不同的物理网络,但它们的IP地址归属于同一个网络段。在这种配置下,主机能够同时作为多个子网的成员,并通过静态路由表来引导数据包的传输路径。静态路由是由网络管理者手动设定的,它不依赖于动态路由协议,因而具备更高的稳定性和安全性。 ### 配置机制 在双块网卡同网络段静态路由的应用场景中,关键环节在于为各个网卡设定正确的默认网关与子网掩码,以及确立通往特定目标网络的静态路由条目。具体而言,每块网卡都必须拥有独立的IP地址和子网掩码,而默认网关则用于转发那些需要进入外部网络的数据包。此外,通过增设静态路由条目,可以明确指定某些特定目的地址的数据包应经由哪块网卡进行发送。 ### 实际操作流程 以下是从相关内容中总结的实际操作流程: 1. **环境初始化**:确认两块网卡已正确安装,并配置了相应的IP地址与子网掩码。例如,一块网卡的IP地址为192.168.1.200,另一块为192.168.1.219,均属于192.168.1.0/24网络段。 2. **删除现有路由**:运用`routedelete 0.0.0.0`指令移除所有默认路由,以确保后续配置不会受到干扰。...

87,987

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧