Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open new window with no toolbars

Status
Not open for further replies.
Try this
Code:
<a href=&quot;javascript:window.open('[URL unfurl="true"]http://localhost/Preview.asp','windowname','width=200,height=200')&quot;>Open[/URL] window</a>
 
Make sure it is all on one line, the post seems to have separated the line, but in fact it is all one line. It should work.
Incidentally, if you wish to put anything like the address bar back in or have the window resizable, you need to add that where the width and height bits are. So you would add something like location=yes, resizable=yes next to width=200, height=200.
As soon as you specify one of these arguments, all the rest are turned off, so you have to specify if you want them to show. If you specify none of them, then they will all show, but your toolbars will also still show.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top