PDA

View Full Version : Hiding address bar etc



Mike
08-14-2003, 01:27 PM
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

Mike
08-15-2003, 01:04 PM
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

Mike
08-15-2003, 01:10 PM
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.

Mike
08-15-2003, 01:56 PM
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

Mike
08-16-2003, 01:51 PM
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:)

Matt
08-24-2003, 12:55 PM
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

Mike
08-24-2003, 01:01 PM
Ah, thanks Matt:)