繁体   English   中英

打开弹出html页面

[英]open Pop up in html page

在我的html页面中,我正在使用一个函数来打开一个弹出窗口

 window.clickOnPDpopup = function(mode,prptName,prptParameters,popup_height,popup_width) {
    var url = '';
    drillurl = PRPT_URL(mode,solution,path,prptName);
    if(prptParameters == '') {
     url = drillurl+buildParameterString(KeyArray,ValueArray,DefaultValueArray);
    } else {
     url = drillurl+prptParameters;
    }
    popupWindow = window.open(url,'popUpWindow','height='+popup_height+',width='+popup_width+',left=100,top=100,resizable=no,scrollbars=no,toolbar=yes,menubar=yes,location=yes,directories=yes,titlebar=0, status=no');
 }

我正在使用的功能window.open打开一个带有标题栏,菜单栏,状态栏,...的新窗口。

我不需要它来显示任何酒吧。 我只需要它来显示div然后在我的内容中显示一个关闭按钮即可关闭该窗口。

请帮我

为什么不创建HTML页面,然后使用它:

window.open(“ html url”,null,“ height = 200,width = 400,status = yes,toolbar = no,menubar = no,location = no”);

然后在该html上进行所需的任何设计,并在那里发送数据

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM