Frames like this...?

liunx

Guest
Can someone tell me the basic code for frames like this:<br />
<br />
thank you!<!--content-->This is the complete code for your frame page!<br />
<br />
<html><br />
<head><br />
<title>Your Site Title</title><br />
</head><br />
<frameset rows="400"><br />
<frameset cols="800"><br />
<frame name="main" src=http://www.htmlforums.com/archive/index.php/"main.html"><br />
<frame name="right" src=http://www.htmlforums.com/archive/index.php/"right.html"><br />
</frameset><br />
<frameset cols="800"><br />
<frame name="bottom" src=http://www.htmlforums.com/archive/index.php/"bottom.html"><br />
</frameset><br />
<noframes><br />
<body><br />
<p>This page uses frames, but your browser doesn't support them.</p><br />
</body><br />
</noframes><br />
</frameset><br />
</html><br />
<br />
I am not really good with frame... but I am sure that this code works! so you can play around and have fun with it!:D <br />
<br />
the first "400" means the height of the 1st frame in your screenshot is 400<br />
the first "800" means the width of the 1st frame in your screenshot is 800<br />
the 2nd frame in your screenshots has the same height as the first frame, and its width is user's screen resolution (width) - 800 (the width of the 1st frame)<br />
the 3rd has the width which fits the user's screen resolution, but its height is user's screen resolution (height) - 400 (the height of the 1st frame)<br />
<br />
hope this helps!:D<!--content-->Doesn't work...:(<br />
<br />
thanks anyway!<!--content-->i suggest that before you have tried to learn how to do this in frames that you try doing it with tables first, here's why <!-- m --><a class="postlink" href="http://webdevelopment.developersnetwork.com/Articles.asp?Article=120">http://webdevelopment.developersnetwork ... rticle=120</a><!-- m --><br />
<br />
here's some table tutorials <!-- m --><a class="postlink" href="http://www.w3schools.com/html/html_tables.asp">http://www.w3schools.com/html/html_tables.asp</a><!-- m --><br />
<br />
and some frames tutorials if you still want to go ahead with frames<br />
<!-- m --><a class="postlink" href="http://www.w3schools.com/html/html_frames.asp">http://www.w3schools.com/html/html_frames.asp</a><!-- m --><br />
<br />
ps: this how to do what you want, just change the % values to suit your needs<br />
<br />
<html><br />
<br />
<frameset rows="75%,25%"><br />
<br />
<frameset cols="75%,25%"><br />
<frame src=http://www.htmlforums.com/archive/index.php/"topleft.htm"><br />
<frame src=http://www.htmlforums.com/archive/index.php/"top-right.htm"><br />
</frameset><br />
<frame src=http://www.htmlforums.com/archive/index.php/"bottom.htm"><br />
<br />
</frameset><br />
</html><!--content-->the easiest way in frames is like this<br />
<br />
<br />
<html><br />
<head><br />
<title>Your Site Title</title><br />
</head><br />
<br />
<frameset rows="75%,*"><br />
<frame name="top" src=http://www.htmlforums.com/archive/index.php/"top.html"><br />
<frame name="bottom" src=http://www.htmlforums.com/archive/index.php/"bottom.html"><br />
</frameset><br />
<br />
<noframes><br />
<body><br />
<p>This page uses frames, but your browser doesn't support them.</p><br />
</body><br />
</noframes><br />
</frameset><br />
</html><br />
<br />
then in the top.html page you have this<br />
<br />
<html><br />
<head><br />
<title>Your Site Title</title><br />
</head><br />
<frameset cols="75%,*"><br />
<frame name="left" src=http://www.htmlforums.com/archive/index.php/"left.html"><br />
<frame name="right" src=http://www.htmlforums.com/archive/index.php/"right.html"><br />
</frameset><br />
<noframes><br />
<body><br />
<p>This page uses frames, but your browser doesn't support them.</p><br />
</body><br />
</noframes><br />
</frameset><br />
</html><!--content-->god now I know why I hate frames. here is the regualr way. no need to put frame code in the top.html like above.<br />
<br />
<br />
<html><br />
<head><br />
<title>Your Site Title</title><br />
</head><br />
<frameset rows="75%,*"><br />
<frameset cols="75%,*"><br />
<frame name="right" src=http://www.htmlforums.com/archive/index.php/"right.html"><br />
<frame name="left" src=http://www.htmlforums.com/archive/index.php/"left.html"><br />
</frameset><br />
<frame name="bottom" src=http://www.htmlforums.com/archive/index.php/"bottom.html"><br />
<br />
</frameset><br />
<noframes><br />
<body><br />
<p>This page uses frames, but your browser doesn't support them.</p><br />
</body><br />
</noframes><br />
</frameset><br />
</html><!--content-->scout-:gunner: frames<br />
<br />
:D<!--content-->lol well that should confuse him, he's got about five different ways of doing it now, spoilt for choice:confused:<!--content-->Thanks everyone!<br />
<br />
I've never good with frames, I like tables more!<br />
But this time I don't have the choice.<!--content-->another question...<br />
<br />
How do I make the content of the bottom frame visible without the user having to scroll down to see it?<!--content-->don't make the page that big. since the bottom frame is only 100 pixel or so high then you can't have a full page in there. make is so there is no scroll bars in the bottom frame<!--content-->All i have is a small menu...<br />
it doesn't show up at all without scrolling...<!--content-->can we see it?<!--content-->
 
Back
Top