Click to See Complete Forum and Search --> : Hiding browser functions


BenW
09-25-2003, 06:40 AM
Hey everyone

I need to find out how to hide all browser functions on a web page. I need to be able to click on a link which will open up a new window (I know how to do that bit), and the window should have nothing but a status bar and the web page itself.

If anyone could help I would be very grateful.

Thanks

Ben

Charles
09-25-2003, 06:51 AM
<a href="http://www.w3.org/" onclick="window.open(this.href, 'child', 'height=400,width=300,status'); return false">W3C</a>

BenW
09-25-2003, 07:39 AM
And what code would i need if I wanted to open a web page without any browser functions on it? As in you type in the web address and it opens the site and all of the functions disappear.

Thanks again,

Ben

Robert Wellock
09-25-2003, 07:57 AM
That is an accessibility issue so it's generally not advisable to go for a complete chromeless window, that's why Charles allowed the window to be opened as a standard link.

BenW
09-25-2003, 08:11 AM
ah, I see.

Thanks anyway :)

Ben