/    Sign up×
Community /Pin to ProfileBookmark

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

to post a comment
HTML

13 Comments(s)

Copy linkTweet thisAlerts:
@Zach_ElfersFeb 05.2003 — It sounds like your pages aren't created or they can't be found. Make sure the path is right and your pages exist.
Copy linkTweet thisAlerts:
@sk8dexauthorFeb 05.2003 — 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????
Copy linkTweet thisAlerts:
@VladdyFeb 05.2003 — ? ? Frames are evil ? ?
Copy linkTweet thisAlerts:
@Zach_ElfersFeb 05.2003 — ? ? Frames are awesome? ?

sk8dex, pleaze post your site's source code.
Copy linkTweet thisAlerts:
@sk8dexauthorFeb 05.2003 — Frames are evil [/QUOTE]

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>
Copy linkTweet thisAlerts:
@Zach_ElfersFeb 05.2003 — <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>
Copy linkTweet thisAlerts:
@sk8dexauthorFeb 05.2003 — Thanks, but it's still not working I've tried both your suggestions.
Copy linkTweet thisAlerts:
@IxxIFeb 05.2003 — I take it you have both a pg1.htm and a pg2.htm in the same folder as the frameset document?

IxxI
Copy linkTweet thisAlerts:
@Zach_ElfersFeb 05.2003 — Can you make sure that your filenames for the frame pages have a .html extension and not .html.txt or .txt?
Copy linkTweet thisAlerts:
@IxxIFeb 05.2003 — 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
Copy linkTweet thisAlerts:
@sk8dexauthorFeb 05.2003 — ???????????I'm still clueless but I'll probably figure it out eventually.

Thanks for the help
Copy linkTweet thisAlerts:
@StefanFeb 06.2003 — [i]Originally posted by sk8dex [/i]

<FRAME SRC="PG1.HTM">

<FRAME SRC="PG2.HTM">
[/QUOTE]


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>
Copy linkTweet thisAlerts:
@sk8dexauthorFeb 06.2003 — Thanks again for the help, and i've got it working now so thanks?
×

Success!

Help @sk8dex spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.7,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...