Is it possible to open a new browser window (not tab) with the help of javascript. additionally i want to disable or hide address bar.
Yes, you can open a new popup window with address bar disabled (url can't be changed)
HTML:
<input type="button" value="Open Window" onclick="return popitup('http://heera.it')" />
JS
function popitup(url) {
newwindow=window.open(url,'name','height=300,width=300, location=0');
if (window.focus) {newwindow.focus()}
return false;
}
See the location=0 but not consistent in all browsers.
DEMO.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With