Next-in-Thread Next-in-Thread
 Next Message Next Message

Feedback Tried and True... 

Forum: Guides to HTML
Re: Question fullscreen with frames (Horst Widera)
Date: 2003, Aug 23
From: <Anonymous>

Here is a method that gives full options in the script file and it also gets rid of the 'ghost'/parent page that I use to open it. The cool thing about that is that it doesn't give you an 'are you sure' dialog to delete the parent which usually happens when trying to close a window that wasn't opened with a script to begin with. If I got all that out right... anyway.. it's a good script.

Opening a full screen page WITH navigation options available…

When using a startup page to initialize a proper full-screen-with-options page be sure that this script is in the parent page's head section:

<script language="javascript" type="text/javascript">
<!--

window.open("PageToLoad.html","ArbitraryName","channelmode, fullscreen=yes,scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=yes,resizable=no"); window.opener=self;window.close();

// --> </script>

where ‘PageToLoad’ is obviously the name of your url. The parent page can be any url, even an empty .html page. The idea is to use the 'ghost' startup page to run the script which starts the full-screen page automatically, then close the parent page. You will notice that this method gives you your toolbar as I have it set up here. You can also manipulate other browser options as well (as opposed to the regular full-screen command which locks the user out of navigation options.) I only know that this works with IE 6.0+ as that is what I am using so good luck with it.

 Next-in-Thread Next-in-Thread
 Next Message Next Message

 Add Add
to: "Tried and True..."

 Members Members
 Subscribe Subscribe
 Admin Mode Admin Mode
 Show Frames Show Frames
 Help Help


Earn money with Scour!
Google
 
Web www.HyperNews.org
Earn money with Scour!