View Full Version : Hiding address bar etc
Hi all,
Would someone tell me how I can hide the address bar, back button etc on a page using javascript please? I think you put some code in the link that is linking to the actual page - but really I'm not that sure.
Thanks,
Mike
Please ignore this post, kind of got it sorted:)
incka
08-15-2003, 01:07 PM
I can make you page full screen.. no start bar... no toolbars... all there will be is the scroll bar... if thats what you want tell me and il post the code
I've found out how to do it now.
Thanks anyway.
Chris
08-15-2003, 01:32 PM
you should post your solution so that if someone else needs to do it one day they'll find this thread helpful if they find it in a search.
OK, I think this is correct, although it is the first time I have used javascript:
<a href="javascript:void" window.open('http://www.example.com','Window Name','toolbar=no','location=no','directories=no', 'menubar=no')>
If anyone wants info on more attributes etc you can have in a javascript link, I suggest visiting http://www.pageresource.com/jscript/jwinopen.htm
Hmm... after testing that it comes up with the "Error on Page" message at the bottom of the screen.
Anyone know whats wrong?
Thanks,
Mike:)
Hi,
The page attributes should not all be in separate single quotes...they are just separated by commas, like this:
<a href="javascript:void" window.open('http://www.example.com','Window Name','toolbar=no,location=no,directories=no,
menubar=no')>
That should work!
Matt
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.