How to launch a new browser window without toolbars?

I want the hyperlink on my main page to launch the HTML help page in a new browser window. However, I want the new window to contain only the address bar, i.e. There was no menu, toolbar or status bar, and yet there was no editable address bar yet.

I have seen this on quite a few sites, but I can’t understand what I need to do to start a new window in this state.

Any clues?

+6
html
source share
2 answers

To talk a bit about what ocdecio has, you can put a call to window.open in a function accessible from your various hyperlinks, allowing different links to pop up new windows, passing another argument to the function.

 <a href="#" onclick="openWindow('faq.html');">FAQ</a> <a href="#" onclick="openWindow('options.html');">Options</a> <script language='Javascript'> <!-- // Function to open new window containing window_src, 100x400 function openWindow(window_src) { window.open(window_src, 'newwindow', config='height=100, width=400, ' + 'toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, ' + 'directories=no, status=no'); } --> </script> 
+9
source share
 <SCRIPT LANGUAGE="javascript"> <!-- window.open ('titlepage.html', 'newwindow', config='height=100, width=400, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no') --> </SCRIPT> 
+10
source share

All Articles