用JS写了个弹出窗口,但是我想弹出的窗口,有个最大化的按纽,就像一般的网页上的那个按扭一样,该怎么写?请大家帮忙
解决方案 »
- css背景图片 先加载完成 后渲染 问题,希望大家看看
- 表单中<input type="submit" id="a" />在js中绑定onclick事件是先提交还是先处理事件
- 求一段代码(ASP或者JS的),先判断IP地址,之后对受限IP段的访问者启用首页遮罩,遮罩透明就行,就是让受限IP访问者只能看首页就好,谢谢!在线等~~
- 能不能在浏览器端验证用户输入中是否含有给定字符串的内容?
- 求大侠们支支招
- 想在window.close()事件中作点其他的事情,如何捕捉close()事件。怎样处理呢?
- 如果有两个frame,通过什么方法可以用第一个frame中的按钮来控制打印第二个frame中的内容,急,急,急......,大哥们多多帮忙,谢谢了。
- input中的focus()问?在线等待,50分!
- 用 JS 判断,缩小显示图片的问题
- 用JavaScript实现VBScript的“Response.Redirect ?
- 谢谢大家帮忙改进钢琴程序
- firefox文本框无法清空,怎么回事,ie正常?再简单不过了,狗屁ff.doucument.getElementById('txtBox').value="",居然没有效果,怎么解决
window.open('','','resizable=yes');
</script>
window.open('xxx.htm','窗口名称','height=100,width=100,resizable=yes');
</script>
{
// set the modal window property..
var WinSettings = "center:yes;resizable:yes;scroll:auto;dialogWidth:500px;dialogHeight:400px;fullscreen:1"
//Open the modal window
var RtnArgs = window.showModalDialog( url,"",WinSettings);
}
这样写出来的窗口没有最大化按钮,我想加格最大化的按钮该怎么写?
OnClientClick="return OpenET('./ETC.aspx',22);"
非模态没有这种限制
{
// set the modal window property..
var WinSettings = "center:yes;resizable:yes;scroll:auto;dialogWidth:500px;dialogHeight:400px;fullscreen:1"
//Open the modal window
var RtnArgs = window.showModalDialog( url,"",WinSettings);
}
这样写出来的窗口没有最大化按钮,我想加个最大化的按钮该怎么写?
直接就ok了
套用就好了
这样不就可以嘛?
你把你自己的代码贴出来
让大家看看为什么啊
上面的各位都已经说的够明白了
window.showModalDialog("help.html",window,'dialogwidth:600px;dialogheight:500px;help=no;status=no;center=yes;edge=sunken;resizable=yes;Minimize=yes;Maximize=yes');
我给你找到了!
在我的博客上转了一篇《弹出网页窗口全攻略(html/hta) 》
http://blog.csdn.net/xpnew/archive/2007/05/04/1596177.aspx
那上面有一段:
2.弹启一个被F11化后的窗口
<html>
<body onload="window.open(''http://www.it365cn.com','example02','channelmode');">;
<b>www.e3i5.com</b>
</body>
</html>
如果这个办法不行,你再看看上面其它的方法吧。