Personally I think frames are the most annoying things on the computer, but some people like them, so I guess that is their business.
What is a frame? |
A frame is basically when you see two pages at once. The bad thing about the left side of the frame is that it follows you everywhere you go.
Left Column |
Main Page |
To get that type of frame do this:
<FRAMESET COLS="50%,50%"> <FRAME SRC="left.htm"><FRAME SRC="main.htm"></FRAMESET> |
Here is another type of frame:
Row 1 |
Row 2 |
To achieve that, you do this:
<FRAMESET ROWS="50%,50%"> <FRAME SRC="row1.htm"> <FRAME SRC="row2.htm"> </FRAMESET> |
Another type of frame:
Banner | |
Left Column | Main Page |
And to get a frame like that you put this code in:
<FRAMESET ROWS="80%,20%"> <FRAMESET COLS="50%,50%"> </FRAMESET> </FRAMESET> |
<FRAMESET COLS="50%, 50%"> <FRAME NAME="left" SRC="left.html"> <FRAME NAME="main" SRC="main.html"> </FRAMESET> |
Say you were doing a page with frames that you didn't want to have to scroll down it, to get the links to show up on the main page do this:
<A HREF="links.htm" TARGET="main.htm"> |
Links on your main page frame will automatically show up on your left page frame, to stop this you will put this:
<A HREF="http://www.yahoo.com" TARGET="_TOP"> |
Not all browsers support frames, and that could be a problem! With the
<FRAMESET COLS="50%, 50%"> <NO FRAME> Sorry, this page contains frames and your browser doesn't support them</NO FRAME> <FRAME NAME="left" SRC="left.htm"> <FRAME NAME="main" SRC="main.htm"> </FRAMESET> |
Borderless frames are where there is nothing on your left column to scroll with, here is how you get that:
<FRAMESET COLS="15%,*" FRAMEBORDER="0" FRAMESPACING="0" BORDER="0"> <FRAME NAME="left" SRC="left.htm" MARGINWIDTH="3" MARGINHEIGHT="10" SCROLLING="no"> <FRAME NAME="main" SRC="main.htm" MARGINWIDTH="3" MARGINHEIGHT="10"> </FRAMESET> |
I'm not that great of a person with frames so please just follow these simple ways of getting frames.