In my html page i am using a function to open a pop up window
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
, the function i am using, opens a new window with a title bar, menu bar, status bar,...
I dont need it to show any bars. I just need it to show a div
and inside my content, i needlose show a close button to close that window.
Please help me
why don't you just create html page then user this:
window.open("html url",null, "height=200,width=400,status=yes,toolbar=no,menubar=no,location=no");
then on that html you do whatever design you want and also send data there or anything
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.