Click to See Complete Forum and Search --> : probs with frame rendering on mac ie5


darrenbrown
01-24-2003, 09:29 AM
Hi

I have a frame set which seems fine on all pc versions. on the mac in IE5.0 the top frame loads in ok, but the main content frame is blank

the page code is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<TITLE>Find a lost expatriate friend online! Locate a lost expatriate friend for free web site!</TITLE>
<META name="description" content="Find a lost expatriate friend online on
our free web site. You can locate a lost expatriate friend for free and
old expatriate friends will be new friends again. Find old friends now!">
<META name="keywords" content="find a lost expatriate friend online, find
a lost friend online, find a lost friend, find a lost expatriate friend,
locate a lost expatriate friend, find a lost expatriate friend for free,
locate a lost friend for free, locate a lost friend online, find old
expatriate friends, find old friends, find old friends online, friends
reunited, find old friends and be reunited, find and renuite expatriate
friends, reunited friends, find new friends, find new friends online,
friend finder web site, online friend finder, online expatriate friend
finder, search lost friend, locating lost friend, old friends online,
finding lost friend for free, finding lost friend for free online, finding
lost friend for free web site">
<META NAME="OWNER" CONTENT="webmaster@friendsfaraway.com">
<META NAME="AUTHOR" CONTENT="renuited old friends">
<META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 25 Dec 2005 00:00:01 PST">
<META HTTP-EQUIV="CHARSET" CONTENT="ISO-8859-1">
<META HTTP-EQUIV="CONTENT-LANGUAGE" CONTENT="English">
<META HTTP-EQUIV="VW96.OBJECT TYPE" CONTENT="Document">
<META NAME="RATING" CONTENT="General">
<META NAME="ROOTS" CONTENT="index,follow">
<META NAME="REVISIT-AFTER" CONTENT="4 days">

<!-- Find a lost expatriate friend online! Locate a lost expatriate friend
for free web site! -->

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<frameset rows="103,*" framespacing="0" frameborder="no" border="0">
<frame src="menu.htm" name="header" frameborder="no" scrolling="no" noresize marginwidth="0" marginheight="0" id="header">
<frame src="intro.htm" name="main" frameborder="no" marginwidth="0" marginheight="0" id="main">
</frameset>
<noframes><body>
<P>Sorry. Your browser does not support frames.</P>
</body></noframes>
</html>

Is this a bug? Any work arrounds/suggestions would be most helpful

thanks

darren

jpmoriarty
01-24-2003, 09:48 AM
i dont actually know, but i thought that the frameset was supposed to go in the <head>? I certainly didnt think that it was supposed to go between the <head> and the <body> - could it be something to do with that?

jdavia
01-26-2003, 09:38 PM
Yes, and get rid of everything in the head and put your frame code there instead. The browser doesn't see that frame as a page. That is your index.html, right! It sees them as what you named them, "header" and "main", the holders of your pages.
The pages that it does show are "menu" and "intro"
What you removed you can insert in "menu" and "intro" pages.

Stefan
01-27-2003, 01:51 AM
Originally posted by darrenbrown
[B]Hi

I have a frame set which seems fine on all pc versions. on the mac in IE5.0 the top frame loads in ok, but the main content frame is blank


I don't have a Mac to check on, but I assume your problem is that you are placing you noframe section OUTSIDE your <frameset>.
It should always go INSIDE the <frameset> as the LAST statment (ie after all other <frame> and nested <framesets>).

The rest looks OK, though I would place the charencoding metatag directly after <head> (ie before any text on the page, including the other metatags)

jdavia
01-27-2003, 02:31 AM
Stefan, sound likely that it is the cure, but I can't say for sure that it is.
I experimented with frames and I did a tudor on them.
Now I just learned from you that I was as wrong as darrenbrown as to where the "noframe tags go.
That's the good a forum does for you. I didn't even think to look at that because it is code that can be ommited. In the wrong place it never caused me problems, but I don't have a Mac.
Thanks!

Stefan
01-27-2003, 06:01 AM
Originally posted by jdavia
I didn't even think to look at that because it is code that can be ommited. In the wrong place it never caused me problems, but I don't have a Mac.
Thanks! [/B]

I've seen missplaced <noframe>s mess up things in eg NS 4.x (frames didn't render), so it's not just on Mac stuff like this happens :)

I think the errorcorrection in most other modern browsers handles frameset errors a bit better though. Not that buggy pages should ever be expected to be rendered as "expected" :D

jdavia
01-27-2003, 01:48 PM
I are so many sites that explain frames and noframes that have varied information about them as to where the frame and noframe tags should go. Some say the head this one says the body. which makes more sense to me. This one also explains the "blank page effect". Evidently it only effects only older browsers.

<html> <head>
<title>Normal HTML</title>
</head>
<body >
Your body code
</body>
</html>
- - - - - - - - - - - - - - -

<html> <head>
<title>Framed pages</title>
</head>
<Frameset>
Your Frame code
</Frameset>
</html>
- - - - - - - - - - - - - - -

Since the FRAMESET tag replaces the BODY, older browsers aren't able to find the body of the page. As a result, if you view a frames page with one of these older browsers, you'll see a blank page.

This can be corrected by adding a NOFRAMES section to the page, as shown below.

<FRAMESET COLS="25%,*">
<FRAME SRC="nav.html">
<FRAME SRC="display.html">
</FRAMESET>
<NOFRAMES>
Alternate HTMLgoes here...
</NOFRAMES>

P.S.
Is there a way to show a two column table here in VB. So you can see it not as the source. I tried it, but maybe it is limited here.

darrenbrown
01-30-2003, 04:54 AM
Thanks for all the replies. I have been trying things out to get the site to work. It seems the problem wasnt the frameset. I started looking at the non redering page and deleting the javascript which opens a popup window seems to solve the problem.

Guess i satrted everyone on the wrong trail, but thanks for all your help. Thought id let you know the solution incase any of you come across it yourselves.

cheers

darren

Stefan
01-30-2003, 06:07 AM
Originally posted by jdavia
[B]I are so many sites that explain frames and noframes that have varied information about them as to where the frame and noframe tags should go.


Yes, unfortunatley the web is littered with websited run by selfappointed experts that don't really know what they are talking about.
That is why I only ever trust information I find at www.w3.org

The below code is an example from the HTML 4.01 spec which shows excetly where things go in a frames page


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<HEAD>
<TITLE>A frameset document with NOFRAMES</TITLE>
</HEAD>
<FRAMESET cols="50%, 50%">
<FRAME src="main.html">
<FRAME src="table_of_contents.html">
<NOFRAMES>
<P>Here is the <A href="main-noframes.html">
non-frame based version of the document.</A>
</NOFRAMES>
</FRAMESET>
</HTML>

If you want to include <body> it goes between <noframes> and <p>