View Full Version : Possible to start in full screen mode?
asmilie2b3
08-08-2007, 02:59 AM
I would like to have the viewer jump to full screen mode on load. Is that possible? Can't see it in the documentation or any comment on it on the forum...
cheers
Bruce
asmilie2b3
08-14-2007, 08:19 AM
Just bumping this one up. No takers?
Sure this must be wanted by many...
Hi Bruce, just an opinion here - hope I haven't misunderstood your question. I think most viewers would like the choice on whether their browsers are changed to full screen and I know from other lists that many get very annoyed if there is no warning that they are about to go full screen.
At the very least I'd be considering a message stating that clicking a text link or button will open the content full screen - it will keep your visitors happy knowing they are in control of what they are viewing.
That said, there are javascripts out there that open a new window in full screen on loading or via a link. Keep in mind that many users have popup windows blocked in their browser preferences so a link is preferred. You can contact me off list if you'd like a sample.
Neil
asmilie2b3
08-15-2007, 12:52 AM
Neil,
Many thanks for the reply. Yes it isn't favourable to ome people to suddenly have the whole screen taken over (myself included) but that is the need for a project we have. We will put an html alert or the such beforehand to warn them.
There are javascripts out there, but AFAIK only IE on windows opens completely full screen. I was really wanting to use the fullscreen mode of the FP viewer (i.e. Flash 9.0 fullscreen mode). Really something just needs to "hit the fullscreen mode" button after loading. Possible by adding another flash movie as a layer perhaps? Or some javascript...?
Bruce, Jaaab has a solution in a sample he has linked from this forum (I hope he doesn't mind me repeating it here). See the javascript he has used in the HTML source view - remember to set your pano.swf dimensions to 100% so that it fills the screen:
http://www.immersive.fr/panos/?pan=metro&type=flash2.1&fullscreen=true
I have also sent you a script as a private message.
Neil
asmilie2b3
08-16-2007, 05:48 AM
Niel,
Thanks. I checked Jaaab's panorama.
While the panorama does open to 100% within the browser window, it is inside the browser window still, not the 100% fullscreen function. Did I miss something?
thanks
Bruce
Bruce - I have included the script I sent you below. There may well be better ones out there but I have found this one works for the browsers I have tested...
An intro page uses a link to open a new full screen window when your initial page loads:
<!-- On your intro page add this script to the head section -->
<SCRIPT LANGUAGE="JavaScript">
<!--
function NewWindow(mypage, myname) {
winprops = 'height=100%,width=100%,top=0,left=0'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
//-->
</script>
<!-- Add this to the body tag on your opening page - change"newpage.html" to the name of your full screen page-->
<body onLoad="NewWindow('newpage.html','pano')">
<!-- Add this to the new fullscreen page body tag -->
<body onLoad="javascript:self.moveTo(0,0);self.resizeTo( screen.availWidth,screen.availHeight)">
<!-- In the flash pano script make the size of your pano "100%" eg... -->
var so = new SWFObject("files/pano.swf", "pano", "100%", "100%", "9", "#FFFFFF");
Hope it helps - Neil
asmilie2b3
08-17-2007, 02:03 AM
Many thanks, I will give your script a go!
Also I received info from Denis that the complete full screen function does require user interaction. And thinking on it of course, if Adobe didn't limit it like that then flash could be used very maliciously. Who can spell p-h-i-s-h-i-n-g :rolleyes:
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.