PDA

View Full Version : Restoring Browser default window


Flashling
09-04-2002, 09:45 AM
Does anyone know of a script which will restore the browser window from fullscreen to its default state without relaoding the page? (IE restore tool bar, address bar etc) executed from a button.

I am running an .swf movie that I don't want to interrupt if the user wants to get out of fullscreen mode.

Thanks in advance...:rolleyes:

eak
09-04-2002, 05:17 PM
once a window has been opened, you can not change anything about it except size and position. most people around here hate fullscreen mode and i am one of them. it covers up my task bar and i hate that.

any way, f11 is the key you press to toggle fullscreen mode so you may want to tell people that if you really want to use fullscreen mode.

whackaxe
09-04-2002, 06:06 PM
the javascript equivelent of F11 is "chanellmode" use that instead of scroll bars and people will be able to use F11 to get back to normal mode

Flashling
09-05-2002, 08:43 AM
Many thanks eak and whackaxe for the info.

Eak - I do agree about the issue of fullscreen, but it does enhance the intro movie leading into the site, so what I have done is a set timeout of 120000 milliseconds for the fullscreen to self kill, at the same time the swf movie launches a new browser default window containing the site's homepage once it has finished playing.

That way I hope the user will enjoy the initial fullscreen entry to the site (there is also a 'skip' button available should a user not wish to view the movie.)

Your answer is very informative, and again, many thanks.

Flashling

Flashling
09-05-2002, 08:46 AM
whackaxe

Could I use 'channellmode' as a script attached to a button (which would be in the swf movie) and if so what would actually happen to the window? Not sure I fully understood...

Thanks

Flashling

eak
09-11-2002, 05:11 PM
go here to see a simple example of channelmode in action.
http://www.eak.homeip.net/scripts/channelmode.html
i dont know how you would integrate it into the swf movie.