Re: Fullscreen
by "tim booker" <timbooker(at)btinternet.com>
|
Date: |
Wed, 2 May 2001 09:04:01 +0100 |
To: |
"Matt Stone" <matt(at)planetveggie.com> |
Cc: |
"Hwg-Techniques" <hwg-techniques(at)hwg.org> |
References: |
planetveggie |
|
todo: View
Thread,
Original
|
|
It depends exactly what you mean.
If you want the window to resize to fill the screen, this could be done with
the following code:
<a href="#" onClick="window.moveTo(0,0);
window.resizeTo(screen.availWidth,screen.availHeight);">
If you need the window to fill the screen, without toolbars, etc showing,
you can only do this by opening a new window. Use the fullscreen attribute:
window.open('whatever.html',newWin,'fullscreen=yes')
Hope that helps,
Tim
http://www.timbooker.com/
----- Original Message -----
From: "Matt Stone" <matt(at)planetveggie.com>
To: "Basic HTMLlist" <hwg-basics(at)hwg.org>; "Advanced HTML List"
<hwg-techniques(at)hwg.org>; "Javascriptlist" <qpalzm(at)yahoogroups.com>
Sent: Wednesday, May 02, 2001 4:14 AM
Subject: Fullscreen
> Hi,
> My brain just ain't working... I have already opened a window and I wish
to
> make it fullscreen when the user clicks a link INSIDE the window. I have:
> <a href='javascript: window.fullscreen=yes'><img
> src='img/visual-meditation/playfull.jpg' border=0></a>
>
> Why is this not working? Thanks,
>
> --------------------------------------------
> Matt Stone (matt(at)planetveggie.com)
> http://www.planetveggie.com
>
> --------------------------------------------
> This email may contain confidential and/or privileged information for the
> sole use of the intended recipient. Any review or distribution by others
is
> strictly prohibited. If you have received this email in error, please
> contact the sender and delete all copies. Opinions, conclusions or other
> information expressed or contained in this email are not given or endorsed
> by the sender unless otherwise affirmed independently by the sender.
> --------------------------------------------
>
>
>
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA