打开在html页面中弹出

时间:2013-11-22 06:20:54

标签: javascript html

在我的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并且在我的内容中,我需要显示一个关闭按钮来关闭该窗口。

请帮帮我

1 个答案:

答案 0 :(得分:0)

为什么不创建html页面然后用户:

window.open(“html url”,null, “高度= 200,宽度= 400,状态=是,工具栏=没有,菜单栏=没有,位置=无”);

然后在那个html上,你做任何你想要的设计,并在那里或任何地方发送数据

相关问题