PDA

View Full Version : Dynamic window resize?


africano
11-18-2008, 03:33 PM
Hi, Ive got this test going on where I have an html page with a pano in the middle inside a Flashcontent DIV.

http://www.elchevirtual.com/A12/index_2.html

Ide like to be able to get the panorama as wide as possible for every screen resolution, so it will look the same on all monitors(dynamic window resize).

How can I do this in my particular case?

any ideas?:)

nidrig
11-18-2008, 07:29 PM
hi,

I'm not sure I understand correctly..you want your pano to fill all the space within your webpage?

On your website, what would that mean?

Anyway, two hints:

1. fpp has a resize handler built-in, so it will resize according to its container if, in the swfobject, you set 100% for width and height as parameters. Like you did in your page, btw.
2. the fluid layout (I suppose) you're talking about needs to be coded in html/css. For instance, in your page, the div that contains your pano has a fixed size. You need to set it in % if you want it to "resize" with your browser size.

Hope it helps.

africano
11-19-2008, 07:00 AM
Hi and thanks! yes your explanation helped, I can see exactly what you mean,

cheers, thanks a million,

:)