pano2vr in lightbox ?

Q&A about the latest versions
Post Reply
visual360media
Posts: 198
Joined: Fri Feb 29, 2008 7:22 pm

Hi all, ok, i give up!
Try as i might i cannot get a .swf movie to work properly in a lightbox or equivalent. I have seen some here that have achieved it and looked at their code but still cannot get it to work.
Well, it works, but the fullscreeen doesnt ! If i link to a page with the pano in it, it works, but i have scroll bars, if i link to the .swf directly it works, but fullscreen doesnt, and i am not sure where
abouts to put the fullscreen code etc, thank you. All help appreciated!
Kind regards,

John Goulding
smooth
Posts: 1493
Joined: Sat Sep 09, 2006 7:30 pm

Just hide the overflow that will get rid of the scrollbars.
I have a couple running on http://www.omnipix.com.au

You must have the .html for fullscreen to work via a web browser so be sure to do so.

Add the overflow hidden script

Code: Select all

<STYLE TYPE="text/css"> 
<!-- 
body {overflow: hidden}; 
--> 
</STYLE> 
before the closing of the </head> tag.

Or add it in to the code like so:

Code: Select all

margin:0;
padding:0;
border:0;
height:100%;
font-size: 10pt;
overflow: hidden;
background : #000000;

That should see you right.

Regards, Smooth 8)
Image
visual360media
Posts: 198
Joined: Fri Feb 29, 2008 7:22 pm

Woohee! That seems to of done the trick. Left the .swf in the html page with all the fullscreen code etc and added the everflow suff, so no scroll bars and fullscreen work,
though only prob now is the swf 'skin' is just outside bottom of popup window. So, what is preferred method? Make the output from pano2vr the size required to match the
lightbox? i.e out 800x600 and then in the lightbox make the window the same?
Thanks Smooth
Kind regards,

John Goulding
visual360media
Posts: 198
Joined: Fri Feb 29, 2008 7:22 pm

Mmm, have looked at your code and maybe i need to embed file with the p2q file and use 100% width and height, instead of using dreamweavers scripts..
Kind regards,

John Goulding
visual360media
Posts: 198
Joined: Fri Feb 29, 2008 7:22 pm

All done, thank you Smooth.
Kind regards,

John Goulding
User avatar
hum@no.id
Posts: 945
Joined: Sat Sep 09, 2006 10:35 pm
Location: Dark side of the Moon
Contact:

Hi

copy the code from main page and second pages.... this native Lightbox

http://www.mmgfx.com/dialingallery/

http://www.mmgfx.com/dialingallery/floo ... spot2.html
Gumir J | VR Panoramic Photographer | mobile: +77055717171 | skype: gumirj
website: gumirj.com | google.com/+gumirj | facebook.com/gumirj | twitter.com/gumirj
Post Reply