jkunrein
asked on
Hide Address Bar in Target Window
I am attempting to create a link that will open a new window with a given size (say, 1010x600) and with no address bar. I found this code elsewhere in these forums:
<A href="new_page.asp"
target="_new"
onClick="window.open(this. href,this. target,'st atus');
return false">New Page</a>
...and it does a great job, except that I ONLY want to restrict the address bar (not the menu bar or toolbar or status bar) and I want to designate the window dimensions. Will someone help me edit the code or tell me it's impossible? ;)
Thank you very much.
<A href="new_page.asp"
target="_new"
onClick="window.open(this.
return false">New Page</a>
...and it does a great job, except that I ONLY want to restrict the address bar (not the menu bar or toolbar or status bar) and I want to designate the window dimensions. Will someone help me edit the code or tell me it's impossible? ;)
Thank you very much.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
jonathanmelnick's code worked, except that it shut down all toolbars/scrollbars/status bar and I haven't yet found a way to do those things individually. Still experimenting with information provided by Onthrax and hernst42; thanks for the resources!
LeeKowalkowski -- Good point. My company is still on IE6 (sorry, I forgot to mention that) but I would rather create something as future-proof as possible.
Thanks, all!
LeeKowalkowski -- Good point. My company is still on IE6 (sorry, I forgot to mention that) but I would rather create something as future-proof as possible.
Thanks, all!
--
Lee