• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Basic HTML Question - Please Help

Kenji4861

Banned
I want to create a dynamic frameset.

I have two frames... top and bottom.

I want the top frame to change size when the user changes the browser size.

I tried to look for javascript functions that can do this, but no luck. Thanks for help in advance.
 
If you specify sizes using percentages instead of values, it'll change with the size of the browser window according to the percentage of the width or heigth that the windows is adjusted to.
 
Originally posted by: esun
If you specify sizes using percentages instead of values, it'll change with the size of the browser window according to the percentage of the width or heigth that the windows is adjusted to.

Ditto
 
If you're trying to make it compatible across many resolutions, don't waste time on that. Look at what other sites have done.
 
Do you need it to size to a specific size, or just be a percentage?

And to be a stickler, this should be in softare/programming.

Rob
 
Originally posted by: esun
If you specify sizes using percentages instead of values, it'll change with the size of the browser window according to the percentage of the width or heigth that the windows is adjusted to.


I need the

height = 50% of width

so when the user changes the width, the height of the frame would change too. Can I do this with something similar?
 
Back
Top