Forum Moderators: open

Message Too Old, No Replies

Switching Framesets

or maybe just refreshing a frame?

         

psychomonkeyCK

3:38 pm on Oct 13, 2003 (gmt 0)

10+ Year Member



Hi,

I am developing a website which is inside of a constrained size iframe. Loaded inside the iframe is a frameset which sets the page up to have a top frame (navigation) a middle frame (content) and a bottom frame (further info). I have never used frames before and what I am planning is probably pretty ambitious but I'm certain it can be done (even if I have to use Javascript).

The navigation is made up of a select list in which there are a number of options. When one of these options is selected I want that frame to load up a new frame in itself which contains a new list as well as the old one. I also want it to load up a new page in the main frame at the same time.

Many Thanks

CK

tedster

3:20 am on Oct 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, it's doable -- although the maintenace may have you talking to yourself. See Message #17 (Change Two Frames from one link) in our Generic Javascript [webmasterworld.com] thread.

I assume that the bottom frame should stay constant -- but you might want to consider changing the entire frameset anyway, and just reload the same page in the new bottom frame. That way the link can just load one page -- a new complete frameset.

And I also urge you to think about non-frames alternatives. You may find that this approach is not the ideal for all users, and in fact really bothers a significant percentage. One major issue - no one can bookmark specific pages.