alcaseltzerboy
02-11-2003, 11:13 PM
I know advanced html, amaetuer javascript, pro flash, and i just don't understand frames.
the thing that messes me up is the "page that the frames are from".i know, but could somebody please explain the entire thing to me?
Lemon Squash
02-12-2003, 12:20 AM
Frames used to confuse me aswell but really its very simple you have the index.html this one holds all the frames together. And you put the code for the frame type you want but only in the index.html you dont put this code anywhere else. And you need to make other pages just like normal ones but they will appear in your index page.
You can find frame codes here (http://framecodes.tripod.com/code.html)
Heres an example.. this is a frame with just a left and a right frame.
You would put this in your index.html -
<HTML><HEAD><TITLE>title</TITLE></HEAD>
<FRAMESET COLS="30%,70%">
<FRAME SRC="left.html" NAME="left">
<FRAME SRC="right.html" NAME="right">
</FRAMESET>
<NOFRAMES>
Sorry, but your browser does not support frames.
</NOFRAMES>
</HTML>
See the left.html you would make a left.html just like a normal page no frame code on it just normal and you would do the same with the right.html and it should work.
I hope you understand this :D
alcaseltzerboy
02-12-2003, 12:24 AM
thank you lemon!
i think i understand.
alcaseltzerboy
02-12-2003, 02:31 AM
wait, for some reason, the page i made with frames isn't working.
i have left.htm
i have main1.htm
i have right.htm
here is my coding.
<html>
<head>
<title>AIN <--The Ultimate Resource For All Your Neopets.com Needs</title>
<script language="Javascript">
//What DO You Want Alert #1 to say?
alert onload ("Welcome to ALLISNEOPETS.TK...")
//What DO Your Want Alert #2 to say?
alert onload ("With Frames!")
</script>
</head>
<frameset= "28%, 47%, 25%" noresize>
<frame src="left.htm" name="left">
<frame src="main1.htm" name="main">
<frame src="right.htm" name="right">
</frameset>
</html>
could somebody please help me out?
lefty
02-12-2003, 03:28 AM
You'll have to put your javascript stuff on a different page, because all that's supposed to be there is the frames code. :)