View Full Version : whats wrong with this frame code?


joshma2
07-05-2003, 08:35 PM
<html>
<title>Welcome to Chao Download Center</title>
<frameset border="0" rows="90%">

<frameset border="0" cols="20%,70%">

<frame name="Frame" src="http://www.geocities.com/joshmackey15/Frame.html">
<frame name="Home" src="http://www.geocities.com/joshmackey15/Home.html">



</frameset>

Kaliyoda
07-05-2003, 08:38 PM
No HEAD or BODY section for starters.

christiandude03
07-05-2003, 08:41 PM
It's fine without the head and body sections - it's a frameset. I just validated the code with the w3c and it said it was fine...your only problem:

you have two open <frameset tags and only one to close them. Add another </frameset> at the end and you're fine.

joshma2
07-05-2003, 08:55 PM
the code above dident work so i tryed a different one but now this one wont work. What wroing with it?

<html>
<head>
<title>Chao Download Center</title>
</head>
<frameset cols=20%,80%>
<frame src="http://www.geocities.com/joshmackey15/Frame.html" name="Frame">
<frame src="http://www.geocities.com/joshmackey15/Home.html" name="Home">
</frameset>
<body>
</body>
<noframes>
<a href="http://www.geocities.com/joshmackey15/Home.html">Click Here</a>
</noframes>
</html>

Kaliyoda
07-05-2003, 09:32 PM
You need to move the <body> tag to right after </head>

MaGiCSuN
07-05-2003, 09:55 PM
nope don't move the <body> tag because then it will not work. See here: http://www.lissaexplains.com/frames.shtml#frameset

what you have is totally fine :) i don't see why it doesn't work. Are you sure those pages are up on the exact same spot?

and do you use filemanager with geocities.com ? if you use pagebuilder, then quit with thinking because frames don't work with pagebuilders. They only work when you work with straight HTML

Love,
Mirna