PDA

View Full Version : Launch tour in full screen via javascript?


WideEyes
04-22-2008, 08:51 AM
Hello everybody.

I have read a lot of threads, but I can't remember ever having read anything about this.

I know there have been threads about launcing a FPP tour in full screen witout having to click the full screen button first. I know this isn't possible, but it should be possible (as far as I know) to launch it in full screen by inserting a javascript. But how should the javascript look?

Can anybody help me? For instance. If I want this tour to launch in fullscreen:

http://www.wideeyes.dk/temp/kongensbro_kro/index.html

How should the javascript then look like?

This is most likely a very basic request, but I don't know how to do it. I hope someone can help me :)

Best regards
Morten Andersen

Joro
04-22-2008, 09:31 AM
first u need an empty html with a button to launch it, or from some other pano, and the code will be onclick="javascript:window.open('http://www.google.com','windowID','menubar=0,resizable=1, fullscreen=yes');void(0);"/>
- this is from the tutorial that comes with the fpp

but u can not launch a real full screen via java, u ll always have a frame, as far as i know. hope this helps.

Dalileis
05-27-2008, 12:43 PM
Hi Joro

This is working in Firefox 2, but sadly not in IE7.

Best regards,

Dalileis


first u need an empty html with a button to launch it, or from some other pano, and the code will be onclick="javascript:window.open('http://www.google.com','windowID','menubar=0,resizable=1, fullscreen=yes');void(0);"/>
- this is from the tutorial that comes with the fpp

but u can not launch a real full screen via java, u ll always have a frame, as far as i know. hope this helps.