Forum Moderators: open

Message Too Old, No Replies

Dynamic Frames?

help

         

liquidstar

6:57 pm on Jul 18, 2002 (gmt 0)

10+ Year Member



Okay, first I hate frames, but in the end, the customer is right, and it's really almost necessary for this site. Here's my dilema. 3 frames.

________________________
¦.....................................¦
¦........Frame 1..................¦
¦_______________________¦
¦.....................................¦
¦........Frame 2..................¦
¦_______________________¦
¦.....................................¦
¦........Frame 3..................¦
¦_______________________¦

Frame 1 Holds header info
Frame 2 Holds other site info
Frame 3 Holds another site that is being framed

The problem is when the nav menu in Frame 1 is clicked, it will change Frame 2, but Frame 3 is still there. I need to know of a way to have a click on Frame 1 allow a change to Frame 2 that will either display over the top of frame 3 or completely get rid of Frame 3.

Ideally after clicking on the nav:

________________________
¦.....................................¦
¦........Frame 1..................¦
¦_______________________¦
¦.....................................¦
¦.....................................¦
¦........Frame 2..................¦
¦.....................................¦
¦.....................................¦
¦_______________________¦

In this scenario, Frame 3 is gone when the menu (dropdown with a leapto type go menu) is clicked, and Frame 2 takes up the whole page displaying the appropriate info.

I can use asp, cold fusion (nice dual box), dhtml, javascript, etc. Any help would be great. It's a pro bono nonprofit site that's taking up more time than the paying sites so I'm getting into some real trouble. Any help is greatly appreciated.

fashezee

7:13 pm on Jul 18, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



One solution:

When the nav menu in Frame 1 is clicked - just let it link to a html page containing the 2 frames
that you would like to be displayed

or

javascript.

joshie76

7:34 pm on Jul 18, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Fashezee's suggestion to load up the separate framesets is probably the best though you'll probably end up with lots of files.

Just incase, you can adjust a frameset in IE using javascript like so

window.top.myFrameSetId.rows = "*,*,0";

Where the frameset has an id of 'myFrameSetId'. I've never managed to control frame size in any other browser - if anybody knows how please share.