Page 1 of 1

Frameset troubles

Posted: Tue Aug 17, 2004 8:16 am
by JayBird
Hi,

I am currently building a site and had the idea in my head and everything seemed pretty easy to achieve. That was until i came to do the layout using frames.

Take a look at the image below

Image

The blue area will contain a flash menu.

The white area will contain the site content.

The grey area will contain a small menu that must be visable at all time.

The way i though this would work would be to create 2 framesets.

The first would have just 2 frames, top and bottom, splitting the screen horizontally.

Then, in the top frame, i would load another frameset which has a left and right frame for my flash menu and site content. I though that when the content becomes too long for the right frame, a scrollbar would appear, which would allow the user to scroll down, but making the blue AND white area scroll. But no scroll ever appears (and yes, i have checked the attributes of the frame, and even with scrolling="yes"...nothing).

Anyone any ideas how i can achieve this layout?

It is imperative that the flash menu doesn't reload when swapping tha page content, and also that the grey menu is viewable on screen at ALL times.

Thanks

Mark

Posted: Mon Sep 20, 2004 1:43 pm
by ldomingues
Can you post your HTML code?

If you want the bottom menu visible at all times, you MUST use frames.

I'd recomend to create to only two frames (top and bottom). On the top frame, you can create an iframe for the text, which can also have a scrollbar.

Posted: Mon Sep 20, 2004 2:41 pm
by feyd
If I understand correctly, you can do this without any frames. Or only 1 frameset.

The flash menu and content can occupy the same frame. Using some scripting, you can load the content in a hidden iframe, and swap out the content once loaded.

there's also the way of using an scripting interval that watches the vertical position of the content frame and scrolls the flash frame to match.. say every 40 milliseconds or so.. (25 updates per second then)