Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: SV: Re: FullScreen mode??


Message #1 by "Robert Nyman" <robert.nyman@c...> on Wed, 20 Nov 2002 14:57:32 +0100
You can't open the current window into fullscreen (security settings).

Your two options are:

1. Open a new window, as in:

window.open("http://p2p.wrox.com", "WroxWin", "fullscreen=3Dyes");

2. Maximize the current window as much as possible:

window.moveTo(0, 0);
window.resizeTo(screen.width, screen.height);


/Robert



-----Ursprungligt meddelande-----
Fr=E5n: Bikash Paul [mailto:bikashpaul_2001@y...]
Skickat: den 20 november 2002 05:49
Till: javascript
=C4mne: [javascript] Re: FullScreen mode??


Hi Robert Nyman,

Any Idea plz.

Regards
Bikash


> > Hi,
>
> I have already tried what u have suggested for that
> I
> have to open another pop up window for my index.html
> file.Is it possible that window open automatically
> into fullscreen mode with the same window?If it is
> not
> possible then I want that first window should close automatically
> after fullscreen pop up window load on browser.Can any one plz guide
> me how I can slove this
> problem.I have tried with my below codes:-
>
> home.html:-
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> <html>
> <head>
> <script>
> function OpenIt(){
>
WinPop=3Dwindow.open("index.html","WinPop","fullscreen");
> }
> </script>
> </head>
> <body onload=3D'OpenIt()'>
> </body>
> </html>
>
> Regards
> Bikash
>
> --- Hovik Melkomian <melvik@b...> wrote:
> > There is only 1 way as I know :)
> > use window.open(http://www.myaddress/index2.html,
> > 'home', 'fullscreen=3D1');
> > in ur index file
> > HTH,
> > Hovik.
> > ----- Original Message -----
> > From: <bikashpaul_2001@y...>
> > To: "javascript" <javascript@p...>
> > Sent: Monday, November 18, 2002 4:50 AM
> > Subject: [javascript] FullScreen mode??
> >
> >
> > Hi all friends,
> >
> > I want that my Home page of my web site should
> load
> > on browser in
> > fullscreen mode(means when user type my web site
> url
> > (http://www.myaddress/index.html) on browser's
> > address bar it should open
> > in fullscreen mode).Can any one plz tell me how I
> > can do that.
> >
> > Regards
> > Bikash
> >
> >
> >
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Web Hosting - Let the expert host your site
> http://webhosting.yahoo.com


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com



  Return to Index