I'm trying this javascript code:
function PopupCenter(url, title, w, h)
{
var left = (screen.width/2)-(w/2);
var top = (screen.height/5)-(h/5);
return window.open(url, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
}
I want to make a popup window from where I want to remove Buttons
and Address Bar
. I have mentioned these two areas in this image: https://i.stack.imgur.com/wOPiQ.jpg
How to make the above code so it removes these two areas? Please help