创建不可调整大小的弹出窗口 [英] create non resizable pop up window

查看:78
本文介绍了创建不可调整大小的弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我正在使用以下Java脚本打开一个新的弹出窗口

Hi guys,
I am using the following java script to open a new pop up window

function popup() {
        cuteLittleWindow = window.open("slidegallary.aspx", "littleWindow", "location=center,width=800,height=630");
    }


和调用该函数的锚点,正在创建的窗口具有要最大化的功能....我想切断该功能...,以便正在创建的窗口保持脚本中提到的特定大小它无法调整大小.任何帮助将不胜感激.

谢谢


and an anchor to call that function the window that is being created has the facility to be maximized....i want to cut that facility off...so that the window that is being created remains of a particular size mentioned in the script and it cant be re-sized. any help will be greatly appreciated.

thank you

推荐答案

尝试:
参数resizable=yes|no
Try:
Parameter resizable=yes|no
function popup() {
        cuteLittleWindow = window.open("slidegallary.aspx", "littleWindow", "location=center,resizable=no,width=800,height=630");
    }


有关参数的详细信息:
resizable=yes|no|1|0:窗口是否可调整大小.默认值为是.


更新:
在这里,详细了解 Window.Open功能 [ ^ ].


Details about parameter:
resizable=yes|no|1|0 : Whether or not the window is resizable. Default is yes.


UPDATE:
Here, have a detailed look on Window.Open feature[^].


这篇关于创建不可调整大小的弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆