PDA

View Full Version : Fullscreen with javascript !!!


cbc
09-17-2007, 05:58 PM
Hello,

I have a problem to open the swf in full screen by a javascript order !!!

this code does not work :

<input name="Right" type="button" id="Right" value="FullScreen" onClick="window.document.pano.myidPanoExecute('fullscreen(-)')" /> :confused:

this code works :

<input name="Right" type="button" id="Right" value="FullScreen" onClick="window.document.pano.myidPanoExecute('loadPano(sno w.swf,2000,stripes)')" />

Thank you for helping me,
Cbc.

:cool:

zleifr
09-18-2007, 08:16 PM
See this discussion:
http://flashpanoramas.com/forum/showthread.php?t=394

I think it is a Flash problem. You can't go into fullscreen without a proper click or keypress in the swf. Flash security