i have to open a popup window, i use this code:
window.onbeforeunload = function(){
var windowincass = window.open('../Common/DomandaGenerica.jsp','domandagenerica','url=no,directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,scrolling=no,resizable=no,width=300,height=200,marginwidth=0,marginheight=0,frameborder=0');
}
the windwow opens but it has the menù, url and others.
How can i fix it?
for example i want something like this:
https://i.sstatic.net/hOcXO.png
but i got something like that:
http://www.ajaxshake.com/public/usersFiles/main/ajax-example-windows-aero-style46_user_1_a3e5a.jpg
i have to use IE 9.
If you want a popup like in the first picture, you have to use a html element with basically following css properties, which shows up, when the Popup should be triggered.
CSS
position: absolute;
z-index: 9999;
It is not possible to change the Styles of the operating system with Javascript in all common browsers. And that is what you are trying to do, if you want to hide the title-bar, menu and so on...
Also have a look at:
This corresponds to your purpose.