PDA

View Full Version : resolution problems (like always)


later
09-03-2003, 07:30 AM
Hi,

I'm developing a site that is divided into three (horizontal) frames: the top frame is in flash the middle is pure html/php and the bottom frame is again in flash.
It's the purpose that the contents of the three frames is covering my complete browser window.

While wanting to do that I stumbled on my everlasting problem: The resolution :mad: .
Of course, it's not hard to make the movie perfect for one resolution (by example 1024x768) but then it's too large for a 800x600 and too small for a 1280x1024.

So my question: can I do something so that my movie always comes out right. I already tried to set in the embed tags in html the width and height to 100% but clearly that doesn't work for some odd reason.

I know that you can detect the resolution with some kind of (java)script but I have encountered difficulties in the past with that.

Greets,

Steven

fishlungs
09-03-2003, 07:56 AM
you could nest the existing frameset so that it fits neatly into 1024x768 res; giving each frame an exact pixel value for width and height.
if the resolution on another users comp is greater, then it will sit neatly in the middle of their screen; rather than being at the mercy of percentages and mad resolutions.

i used this nesting technique on my own website (http://www.fishlungs.com/), although it's only two frames, the theory is still the same.

hope that helps :)

fishlungs
09-03-2003, 08:00 AM
<frameset frameborder="no" border="0" framespacing="0" cols="*,722,*">
<frame name="blank" marginwidth="0" marginheight="0" scrolling="no" noresize src="blank.htm">

<frameset frameborder="no" border="0" framespacing="0" rows="*,300,102,*">
<frame name="blank" marginwidth="0" marginheight="0" scrolling="no" noresize src="blank.htm">
<frame name="contentFrame" marginwidth="0" marginheight="0" scrolling="no" noresize src="home.htm">
<frame name="navigation" marginwidth="0" marginheight="0" scrolling="no" noresize src="navi.htm">
<frame name="blank" marginwidth="0" marginheight="0" scrolling="no" noresize src="blank.htm">
</frameset>

<frame name="blank" marginwidth="0" marginheight="0" scrolling="no" noresize src="blank.htm">
</frameset>

just change the file names accordingly and add a column/row or whatever you need to do... and change the values to suit your needs. :)