window.showModalDialog("SMD_target.htm","Dialog Arguments Value","dialogHeight: 73px; dialogWidth: 697px; dialogTop: 29px; dialogLeft: 372px; edge: Raised; center: Yes; help: Yes; resizable: Yes; status: Yes;");
解决方案 »
- kindeditor如何在后台将编辑区的内容设为空?
- ExtJs GridPanel 非常简单且怪的问题,搞定马上结
- 明天ASP.NET软件工程师的我,开天辟地头一次去大公司上班了!
- 网站安装时碰到的问题,一定给分,急!
- ☆☆☆第一个答对的给100分,动态生成的Button,如何触发单击事件,有代码请高手溜一眼,很快的,谢谢
- asp.net+sql server 处理在线编辑器中特殊符号
- 为什么用javascript读取。net写的cookie,汉字是乱码了?
- VS.net2003如何做美工?谈谈你们经验~
- 120!!求一个平衡二叉排序树
- 用.net新创建项目时报http:/1.1 403 Access Forbidden
- (急)关于HyperLink控件使用的一个问题
- ?求助!我用asp编的一段!哪位大哥能帮我看看!到底错在哪里!
就可以不改变窗体的大小;当然你非要去处最小化,关闭,到是可以做个无边的窗体:
无边:(摘)
minimizebar="images/minimize.gif";
minimizebar2="images/minimize2.gif";
closebar="images/close.gif";
closebar2="images/close2.gif";
icon="images/icon.gif";
function noBorderWin(fileName,w,h,titleBg,moveBg,titleColor,titleWord,scr)
{
var contents="<html>"+ "<head>"+
"<title>"+titleWord+"</title>"+
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">"+
"<link rel='stylesheet' href='inquirybase.css'>"+
"<object id=hhctrl type='application/x-oleobject' classid='clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11'><param name='Command' value='minimize'></object>"+
"</head>"+
"<body topmargin=0 leftmargin=0 scroll=no onselectstart='return false' ondragstart='return false' onkeydown=' if ((window.event.altKey)&&(window.event.keyCode==115)) return false;' onload=' document.all.bottomtxt.style.top=(document.body.clientHeight-20).toString()+px;'>"+
" <table height=100% width=100% cellpadding=0 cellspacing=2 bgcolor="+titleBg+" id=mainTab>"+
" <tr height=18 style=cursor:default; onmousedown='x=event.x;y=event.y;setCapture();mainTab.bgColor=\""+moveBg+"\";' onmouseup='releaseCapture();mainTab.bgColor=\""+titleBg+"\";' onmousemove='if(event.button==1)self.moveTo(screenLeft+event.x-x,screenTop+event.y-y);'>"+
" <td width=18 align=center><img height=12 width=12 border=0 src="+icon+"></td>"+
" <td width="+w+"><span id=mytitle style=font-size:12px;color:"+titleColor+";font-family:宋体;position:relative;top:1px;>"+titleWord+"</span></td>"+
" <td width=14><img border=0 width=12 height=12 alt=最小化 src="+minimizebar+" onmousedown=hhctrl.Click(); onmouseover=this.src='"+minimizebar2+"' onmouseout=this.src='"+minimizebar+"'></td>"+
" <td width=13><img border=0 width=12 height=12 alt=关闭 src="+closebar+" onmousedown=self.close(); onmouseover=this.src='"+closebar2+"' onmouseout=this.src='"+closebar+"'></td>"+
" </tr>"+
" <tr height=*>"+
" <td colspan=4>"+
" <iframe name=nbw_v6_iframe src="+fileName+" scrolling="+scr+" width=100% height=100% frameborder=0></iframe>"+
" </td>"+
" </tr>"+
" </table>"+
" <div id=bottomtxt style='position:absolute;left:0;top:0px;width:97.3%;height:20;background-color:#0099FF;border:0px' align='left'><table height=100% width=100% cellpadding=0 cellspacing=2 bgcolor=#6a7f9a><tr><td id = mystatus></td></tr></table></div>"+ "</body>"+
"</html>"; pop=window.open("","_blank","fullscreen=yes");
pop.resizeTo(w,h);
pop.moveTo((screen.width-w)/2,(screen.height-h)/2);
pop.document.writeln(contents);
实际你可以搜下gg,无边窗口,多了去了
你好!
我主要是想把关闭按钮去掉,我用.aspx文件打开.aspx文件做为子窗口,我用的是
Response.Write("<script language=javascript>window.open('ChangePassword.aspx','NewWin','edge=raised,center=no;help=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=620,height=400,left=500,top=200')</script>");
你的我已写成 Response.Write("<script language=javascript>window.showModalDialog('ChangePassword.aspx','Dialog Arguments Value','dialogHeight=731, dialogWidth= 697, dialogTop= 229, dialogLeft= 372, edge= Raised, center= Yes, help= no, resizable= Yes, status= no')</script>");
但关闭按钮还是去不掉,反而加了一“?”按钮,再帮我一把!!!!!!
我是想用.aspx文件打开.aspx文件做为子窗口
无边窗口 IE6不支持
希望大家多多关照。
希望大家多多关照。