Click to See Complete Forum and Search --> : Frames


sk8dex
02-05-2003, 02:07 PM
When I create frames and then check the page, each frame says "page cannot be displayed blah blah blah"
help as to whats wrong pleaze

Zach Elfers
02-05-2003, 02:15 PM
It sounds like your pages aren't created or they can't be found. Make sure the path is right and your pages exist.

sk8dex
02-05-2003, 02:35 PM
Nothing is working. I've even tried using the examples in the tuts on this site and the result is still the same.

any thoughts????

Vladdy
02-05-2003, 02:36 PM
:D :D Frames are evil :D :D

Zach Elfers
02-05-2003, 02:37 PM
:D :D Frames are awesome:D :D

sk8dex, pleaze post your site's source code.

sk8dex
02-05-2003, 02:45 PM
Frames are evil

no kidding

any way my pages source code is just this at the moment

<HTML>

<FRAMESET COLS="50%,50%">

<FRAME SRC="PG1.HTM">
<FRAME SRC="PG2.HTM">

</FRAMESET>

</HTML>

Zach Elfers
02-05-2003, 02:49 PM
<FRAMESET COLS="50%,50%">
<FRAME SRC="page.html" NAME="frameName">
<FRAME SRC="page.html" NAME="frameName">
</FRAMESET>

You could also use a <NOFRAMES> section:

<FRAMESET COLS="50%,50%">
<FRAME SRC="page.html" NAME="frameName">
<FRAME SRC="page.html" NAME="frameName">
<NOFRAMES>
Your browser doesn't support frames.
</NOFRAMES>
</FRAMESET>

sk8dex
02-05-2003, 02:56 PM
Thanks, but it's still not working I've tried both your suggestions.

IxxI
02-05-2003, 02:58 PM
I take it you have both a pg1.htm and a pg2.htm in the same folder as the frameset document?
IxxI

Zach Elfers
02-05-2003, 02:59 PM
Can you make sure that your filenames for the frame pages have a .html extension and not .html.txt or .txt?

IxxI
02-05-2003, 03:03 PM
If sk8dex is using the original page code the extensions need to be .htm and not .html, I did that myself already this evening!!
IxxI

sk8dex
02-05-2003, 03:12 PM
???????????I'm still clueless but I'll probably figure it out eventually.

Thanks for the help

Stefan
02-06-2003, 08:36 AM
Originally posted by sk8dex
<FRAME SRC="PG1.HTM">
<FRAME SRC="PG2.HTM">


If you got this you must have 2 html documents in the same loaction as your frameset document called EXACTLY

PG1.HTM
and
PG2.HTM

CaSe maTTErS!!!


Anyway, here is some examplecode of how a good frameset document should look like, but check the name of the files first.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
</head>
<frameset cols="100, 1*" border="0"> <!-- border="0" is a bugfix for incorrect frameborder=0 support in IE, NS as well as Opera -->
<frame name="nav" src="nav.html" frameborder="0" marginwidth="1" marginheight="1" scrolling="auto">
<frame name="main" src="main.html" frameborder="0" marginwidth="1" marginheight="1" scrolling="auto">
<noframes>
<body>
<p>
Frames are not working in your Browser.<br>
You can reach the respective pages on the frames via these links<br>
<a href="nav.html">Navigation</a><br>
<a href="main.html">Main</a>
</p>
</body>
</noframes>
</frameset>
</html>

sk8dex
02-06-2003, 12:01 PM
Thanks again for the help, and i've got it working now so thanks:D