opening a new window and hiding the addressbar and statusbar of the window
hi,
i need to create a new browser window when we click on a button,
as we do with window.open() in javascript..
i was using that initially, but i was unable to set title of the html page and hide the addressbar and statusbar using it, i tried many things. but its not working in mozilla.
i know that mozilla forces the default settings but i think there should be some workaround for this problem
is their any way in jquery to both this things.
here is what i am trying to do in javascript
- var width = 600;
var height = 500;
var left = parseInt((screen.availWidth/2) - (width/2));
var top = parseInt((screen.availHeight/2) - (height/2));
- var winProperty = "width=" + width + ",height=" + height + ",left=" + left + ",top=" + top + "screenX=" + left + ",screenY=" + top+ ",location=no,status=no";
mywindow = window.open('help/help1.html','Window title',winProperty) ;
});