Forum Moderators: open
Turn away from the Dark Side, you don't really need frames. :D
What I did was to add a blank frame on the bottom and specified a size of * and I added a blank frame to the right side of the screen with a size of * and that fixed it.
I wish I didn't have to use frames but I want to do some things that are too difficult to engineer with my limited knowledge.
For instance, I have a calendar in the lower left corner of the screen. I want to be able to click on a date and have the events file come up in another area of the screen and jump to the named anchor for that date. I can't figure out any other way to do it.
Also, I want the user to be able to change the month on the calendar without the rest of the page changing.
I did this by setting a cookie with the current month. When the page is reloaded, an SSI include reads the cookie and spits out the correct calendar. This keeps the calendar consistent across pages.
I have some very rough ideas sketched out at <Sorry, no personal URLs. See TOS [webmasterworld.com]>
If I could figure out how to click on a calendar day and have the text document jump to the correct named anchor, I'd give up on the frames.
[edited by: tedster at 3:28 am (utc) on Dec. 11, 2004]
I have a calendar in the lower left corner of the screen. I want to be able to click on a date and have the events file come up in another area of the screen and jump to the named anchor for that date.
Why wouldn't this work?
<a href="dec_25th.html#6AM">6AM</a>
Then in dec_25th.html . . .
<a name="6AM"></a>
6 AM: Get kids out of bed for Christmas
There are man ways to keep the original calendar on the page, Javascript, server side includes, dynamic output, but if frames works for you, it works.
Once you start resizing the browser window to where it's smaller than your content area, the frames dynamically resize to become smaller.
I guess frames won't work after all. I want the frames to remain the same no matter how big or small the browser window is.
There seems to be no way to make the frame sizes fixed. Thanks for your help. Back to the drawing board.
You can always include an extra frame or two around the edges of the frameset, filled only with background and using "*" for its dimension. Then if the window gets resized, the other frames should remain unaffected and your "edge" frames will take up the adjustment.
I just got it to work using an iframe so I won't need to use frames after all. I just couldn't conceptulaize (sp?) how the iframe worked. rocknbil was correct in his post above. I just did what he said and set up an iframe and pointed the link target to the iframe name. Whew! I should be paying you guys.
I might still make a mockup of my site using frames just for fun. Just wish I could figure out how to "freeze" the size of some of the frames so that they never resized at all.