We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
  • Pages:
  • 1
Frame Help
Topic Started: Apr 1 2005, 10:06 PM (917 Views)
sandviper2
Member
[ *  *  * ]
Ok, I am trying to make it so there is one horizontile, and two virtical.

The code that I though would work is:{From w3schools}
Code:
 
<html>



<frameset rows="25%" cols="50%,50%">
 <frame src="frame_a.htm">
 <frame src="frame_b.htm">
 <frame src="frame_c.htm">
</frameset>




</html>


But it didn't help?
Offline Profile Quote Post Goto Top
 
Mercury
Member Avatar
Unlost
[ *  *  *  *  *  *  *  * ]
That looks really wrong, which is why it doesn't work. :D

Anyway... depending on how you'd like the frames to appear, you'd have to construct it differently. Take a look at my ubercool ASCII art here...

Code:
 

 ______________________________
 |                            |
 |                            |
 +______+_____________________+
 |      |                     |
 |      |                     |
 |      |                     |
 |      |                     |
 |______|_____________________|



If that's how you'd like for them to be displayed, try the code below. Notice how I've put another frameset in the place of the "second" frame? YOu can also add border='0' and noresize as needed.

Code:
 
<frameset rows='25%,*'>
<frame src='http://invisionfree.com'>
<frameset cols='50%,*'>
 <frame src='http://apple.com'>
 <frame src='http://yahoo.com'>
</frameset>
</frameset>
Offline Profile Quote Post Goto Top
 
sandviper2
Member
[ *  *  * ]
Thanks.

I tryed it that way but closed the first one then did the second and closed.

SandViper

~edit~

It won't work. http://www.freewebs.com/voigtmanapiaries/main.htm

Code:
 
<html>
<head>
<title>Voigtman Apiaries</title>
</head>
<body>


<frameset rows='25%' border='1'>
<frame src='http://www.freewebs.com/voigtmanapiaries/Navigation.htm'>
<frameset cols='50%,*' border='1'>
<frame src='http://www.freewebs.com/voigtmanapiaries/Navigation.htm'>
<frame src='http://www.freewebs.com/voigtmanapiaries/Navigation.htm'>
</frameset>
</frameset>

</body>
</html>


SandViper
Offline Profile Quote Post Goto Top
 
Mercury
Member Avatar
Unlost
[ *  *  *  *  *  *  *  * ]
You forgot to add the * to the first frame set.

Quote:
 
<frameset rows='25%,*' border='1'>
Offline Profile Quote Post Goto Top
 
sandviper2
Member
[ *  *  * ]
Oh, I took it off because I didn't realize that it had to be on there.

It still wont work.

SandViper
Offline Profile Quote Post Goto Top
 
Mercury
Member Avatar
Unlost
[ *  *  *  *  *  *  *  * ]
Well, it's necessary because you're defining rows. If you only have one number, you'll only get one row. The * means take up the rest of the space.

Also, you might want to add name='something' to each of the frames. That way, you can add target='something' to a link and have the page appear in that part of the window.
Offline Profile Quote Post Goto Top
 
Mercury
Member Avatar
Unlost
[ *  *  *  *  *  *  *  * ]
You'll need to move the Frames outside of the body tag... (And no, I don't have to edit my post. :P )

Quote:
 
<html>
<head>
<title>Voigtman Apiaries</title>
</head>
<body>
<frameset rows='25%,*' border='1'>
<frame src='http://www.freewebs.com/voigtmanapiaries/Navigation.htm'>
<frameset cols='50%,*' border='1'>
<frame src='http://www.freewebs.com/voigtmanapiaries/Navigation.htm'>
<frame src='http://www.freewebs.com/voigtmanapiaries/Navigation.htm'>
</frameset>
</frameset>
<body>
</body>
</html>
Offline Profile Quote Post Goto Top
 
sandviper2
Member
[ *  *  * ]
Now is there a Way that I can make it fit in one browser, and add scroll bars to it? Instead of putting to much info and having people use the browser to scroll down?

SandViper
Offline Profile Quote Post Goto Top
 
Mercury
Member Avatar
Unlost
[ *  *  *  *  *  *  *  * ]
I'm sorry. I have no idea what you're asking. Perhaps you mean to change the size of each section. If so, just change the numbers. They don't even have to be percentages. Specifying 100,* will make the top (or left) section 100 pixels high/wide, leaving the rest of the space for the other frame. If scrollbars need to be added, they are automatically done.

Take a look at the topic about pixel sizes if you're unsure what 100 pixels looks like.
Offline Profile Quote Post Goto Top
 
Aka Tolken
I'm a valued number.
[ *  *  *  *  * ]
If I remember correctly, frames are supposed to be in between the <header> tags.
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
Aka Tolken
April 2, 2005 04:32 AM
If I remember correctly, frames are supposed to be in between the <header> tags.

You remember wrong :P

The frametags should replace te bodytags.

Code: HTML
 
<HTML>
<HEAD>
<TITLE>Framepage</TITLE>
</HEAD>

<FRAMESET COLS="300,*">
<FRAME SRC="banner.htm">
<FRAMESET COLS="300,*">
<FRAME SRC="leftbar.htm">
<FRAME SRC="main.htm" NAME="WINDOW-1">
</FRAMESET>
</FRAMESET>
<NOFRAMES>
<BODY>
Whatever you want people that have a browser that does not support frames to see.
</BODY>
</NOFRAMES>
</HTML>


This works, I'm sure about it.



For better looks, you might want to change it to:
Code: HTML
 
<FRAMESET COLS="300,*">
<FRAME SRC="banner.htm">
<FRAMESET COLS="300,*,300">
<FRAME SRC="leftbar.htm">
<FRAME SRC="main.htm" NAME="WINDOW-1">
<FRAME SRC="rightbar.htm">
</FRAMESET>
</FRAMESET>


Makes the site look more balanced.
(Especially when using <CENTER> :yes: )


EDIT:
Damn, no multi-space support in
Offline Profile Quote Post Goto Top
 
Aka Tolken
I'm a valued number.
[ *  *  *  *  * ]
Qj
April 2, 2005 01:27 PM
Aka Tolken
April 2, 2005 04:32 AM
If I remember correctly, frames are supposed to be in between the <header> tags.

You remember wrong :P

The frametags should replace te bodytags.

Oh well. Can't say I use frames. :r
Offline Profile Quote Post Goto Top
 
kingy
1 in 10 people understands binary, the other 1 doesn't
[ *  *  *  *  *  * ]
Quote:
 
(Especially when using <CENTER>  )



grrrr...you shouldn't use <center> no more
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
<div align='center'> better?

Personally, I don't really see the difference, but I guess thats just me.
Offline Profile Quote Post Goto Top
 
sandviper2
Member
[ *  *  * ]
Sorry,

Frams take forever to load. I have DSL and the have been trying to load for about 2min.

I have tryed a table, but I cant get the sizes down because it always resizes its self.:

http://www.freewebs.com/blackbutte/

Code:
 
<html>
<head>
<title>Black Butte School</title>
</head>
<body>


<center>
<TABLE BORDER width="100%">
<TR>
 <TH  HEIGHT="100" COLSPAN=20>Black Butte School</TH>
 
</TR>

<TR>
 <TH height="20" COLSPAN=5>Navigation:</TH> <TH COLSPAN=7>Main Content:</TH>
</TR>
<TR>
 <TD HEIGHT="400" COLSPAN=5 valign=Top>

<a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br><a href="http://www.freewebs.com/blackbutte/">Main</a><br>

 </TD> <TD HEIGHT="400" COLSPAN=10><div style="height:400px; overflow:auto;">

<b>Welcome,</b>
Test this is just a test, this will be aht the new site looks like.Test this is just a test, this will be aht the new site looks like.Test this is just a test, this will be aht the new site looks like. Test this is just a test, this will be aht the new site looks like.Test this is just a test, this will be aht the new site looks like.Test this is just a test, this will be aht the new site looks like.Test this is just a test, this will be aht the new site looks like.Test

</div>
<center><b>_____________________________________________________________________________________________________</b></center> <valign=bottom td><center><b>Copyright © 2005 All Rights Reserved. Black Butte School, Foster Brovan, and Zach Voigtman</b></center></TD> </TD>
</TR>
</TABLE>

</center>



</body>
</html>


I am thinking that that noresize thing would work but I don't know how to use it. and I think my code is wrong somewere.

SandViper
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Technology Chat · Next Topic »
Add Reply
  • Pages:
  • 1