Log in

View Full Version : Frame sets



bluewalrus
12-02-2008, 06:28 AM
hey can someone explain to me how to do this with frames i've looked at w3 and tried it in dreamweaver but dreameaver keeps freaking out on me. It's loaded 40 pages thinking it knows what i want. I know how to do this with css but this guy decided he want one part of the page to not be reloaded so now i have to do it this wacky way. Well anyway back to the question. I want the page to be 900px's wide in the center and the left and right to just adjust based on that (* is the symbol i thought but no luck with that either). Then in the 900 section i want to divide it up even further so that there is a top (t) frame 900 pixels 107 pixels tall wide are two seperate frames in the left (L) one thats 190px wide 200 pixels tall and one thats like 355px wide 300px tall. Then the center content (c) to just be a go around these two frames (so *?). I made a terrible drawing just to clarify cause i don usually make sense when explaining with words. Disregard random spaces there suppose to meet but it was a quick drawing.
http://www.christophermacdonald.net/terribledrawing.jpg

Thanks for any help you can offer. Oh yea the 900 px in the center was suppose to show that the whole blue section was 900 pixels from white to white not from the pink. Also that image is bigger then i thought it was sorry.

Snookerman
12-02-2008, 05:23 PM
If I got your picture right this might be what you want:

<frameset cols="*,900,*">
<frame src="http://www.google.com/" scrolling="no" />
<frameset rows="107,*">
<frame src="http://www.google.com/" scrolling="no" />
<frameset cols="355,*">
<frameset rows="200,300,*">
<frameset cols="190,*">
<frame src="http://www.google.com/" scrolling="no" />
<frame src="http://www.google.com/" scrolling="no" />
</frameset>
<frame src="http://www.google.com/" scrolling="no" />
<frame src="http://www.google.com/" scrolling="no" />
</frameset>
<frame src="http://www.google.com/" scrolling="no" />
</frameset>
</frameset>
<frame src="http://www.google.com/" scrolling="no" />
</frameset>
I had to add a couple of frames, like next to the 190px wide frame but if you want the big blue part in one piece you'll have to use two iframes instead.

bluewalrus
12-03-2008, 01:58 AM
Yup you got it. Thanks. What'd you use to code it? Whenever I tried to load it in dreamweaver, in the source code, when i tried to change a part and see how it would look it would jump to the other page's code and i could never get back to the frame code without quitting and reopening.

Snookerman
12-03-2008, 05:26 AM
I think Dreamweaver does that if the src to any frame does not exist. Dreamweaver usually creates every frame (untitled-frame1, 2, etc.) and if you add a new one it probably open a new file that will become the new frame. That's why it's easier if you use a website that already exists, like I did with google.