Browsers Differences Again
Someone emailed me (bashing my demo) about http://www.freepm.org:8080/FreePM/scheduling not working. It worked fine with NS (we try to test with IE too, but it's so painful <s>). Anyway, I discovered that this code in the index_html (a DTML Method): ------------------------------------ <html> <head><title>FreePM Scheduling</title> </head> <dtml-let this_year="_.DateTime().year()"> <frameset rows="50,*" marginheight="2"> <frame src="menu" name="sched_menu"> <frame src="<dtml-var this_year>" name="sched_main"> </frameset> </frameset> </dtml-let> <NOFRAMES> FreePM requires a frames capable browser for proper operation. </NOFRAMES> </html> --------------------------------- Didn't work in IE, but does in NS. this_year resolves to a OFS Folder ID. If I explicitly point the frame sources like this it works fine in both browsers: <frame src="/FreePM/scheduling/menu" name="sched_menu"> <frame src="/FreePM/scheduling/<dtml-var this_year>/index_html" name="sched_main"> BTW: the error was Not Found in both frames. Why does IE not resolve those objects correctly? -- Tim Cook, President - FreePM,Inc. http://www.FreePM.com Office: (731) 884-4126 ONLINE DEMO: http://www.freepm.org:8080/FreePM
Well, I tried it in all my available browsers, on PC: IE 5.5 SP1, Opera 5.11, Mozilla 0.9, Netscape 4.7, Netscape 6 and on Mac: IE 4.5. Outside of being way too wide, it renders as I expected, the links all went somewhere, I didn't see a problem. What version of IE did you test with? Jeff.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Tim Cook Sent: Friday, June 08, 2001 2:38 PM To: Zope List Subject: [Zope] Browsers Differences Again
Someone emailed me (bashing my demo) about http://www.freepm.org:8080/FreePM/scheduling
not working.
It worked fine with NS (we try to test with IE too, but it's so painful <s>).
Anyway, I discovered that this code in the index_html (a DTML Method): ------------------------------------ <html> <head><title>FreePM Scheduling</title> </head>
<dtml-let this_year="_.DateTime().year()">
<frameset rows="50,*" marginheight="2"> <frame src="menu" name="sched_menu"> <frame src="<dtml-var this_year>" name="sched_main"> </frameset> </frameset>
</dtml-let>
<NOFRAMES> FreePM requires a frames capable browser for proper operation. </NOFRAMES>
</html>
---------------------------------
Didn't work in IE, but does in NS. this_year resolves to a OFS Folder ID.
If I explicitly point the frame sources like this it works fine in both browsers: <frame src="/FreePM/scheduling/menu" name="sched_menu"> <frame src="/FreePM/scheduling/<dtml-var this_year>/index_html" name="sched_main">
BTW: the error was Not Found in both frames.
Why does IE not resolve those objects correctly?
-- Tim Cook, President - FreePM,Inc. http://www.FreePM.com Office: (731) 884-4126 ONLINE DEMO: http://www.freepm.org:8080/FreePM
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
A good way to find the problems is to check the page in validator.w3.org . An obvious error I see is the lack of a doctype for this I would suggest html 4 transitional. w3c.org has information on the doctypes and how to use them in the html 4 spec. Remember as web developers it is your responsibility to know these specs and to use them. That is how it got as bad as it is now with pages being written in any old way and mostly for IE because people did not know the spec. Designing the webpages of tomorrow http://webme-eng.com Designing the MMORPGS of tomorrow http://worldforge.org On Fri, 8 Jun 2001, Jeff Peterson wrote:
Well, I tried it in all my available browsers, on PC: IE 5.5 SP1, Opera 5.11, Mozilla 0.9, Netscape 4.7, Netscape 6 and on Mac: IE 4.5. Outside of being way too wide, it renders as I expected, the links all went somewhere, I didn't see a problem.
What version of IE did you test with?
Jeff.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Tim Cook Sent: Friday, June 08, 2001 2:38 PM To: Zope List Subject: [Zope] Browsers Differences Again
Someone emailed me (bashing my demo) about http://www.freepm.org:8080/FreePM/scheduling
not working.
It worked fine with NS (we try to test with IE too, but it's so painful <s>).
Anyway, I discovered that this code in the index_html (a DTML Method): ------------------------------------ <html> <head><title>FreePM Scheduling</title> </head>
<dtml-let this_year="_.DateTime().year()">
<frameset rows="50,*" marginheight="2"> <frame src="menu" name="sched_menu"> <frame src="<dtml-var this_year>" name="sched_main"> </frameset> </frameset>
</dtml-let>
<NOFRAMES> FreePM requires a frames capable browser for proper operation. </NOFRAMES>
</html>
---------------------------------
Didn't work in IE, but does in NS. this_year resolves to a OFS Folder ID.
If I explicitly point the frame sources like this it works fine in both browsers: <frame src="/FreePM/scheduling/menu" name="sched_menu"> <frame src="/FreePM/scheduling/<dtml-var this_year>/index_html" name="sched_main">
BTW: the error was Not Found in both frames.
Why does IE not resolve those objects correctly?
-- Tim Cook, President - FreePM,Inc. http://www.FreePM.com Office: (731) 884-4126 ONLINE DEMO: http://www.freepm.org:8080/FreePM
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Jeff Peterson wrote:
Well, I tried it in all my available browsers, on PC: IE 5.5 SP1, Opera 5.11, Mozilla 0.9, Netscape 4.7, Netscape 6 and on Mac: IE 4.5. Outside of being way too wide, it renders as I expected, the links all went somewhere, I didn't see a problem.
Thanks for the run through. <s> I should have explained better taht I had already fixed it. My question was why does IE not find the objects without the explicit path like the other browsers do? Most of FreePM does not have explicit path information in it and I have not seen this problem before. Another note that I did not think about before is that the index_html in the year folder contains javascript that automatically loads the current month in the bottom frame. Maybe that's the culprit? But then, my fix really wouldn't make sense. ??? -- Tim Cook, President - FreePM,Inc. http://www.FreePM.com Office: (731) 884-4126 ONLINE DEMO: http://www.freepm.org:8080/FreePM
[Tim Cook]
Thanks for the run through. <s> I should have explained better taht I had already fixed it. My question was why does IE not find the objects without the explicit path like the other browsers do?
What do you mean, "without the explicit path"? How about showing the actual HTML BEFORE you fixed it, maybe we can figure it out. If you mean a "relative" path, IE works fine using a relative path. Tom P
"Thomas B. Passin" wrote:
What do you mean, "without the explicit path"? How about showing the actual HTML BEFORE you fixed it, maybe we can figure it out. If you mean a "relative" path, IE works fine using a relative path.
I did. The orignal email has the entire index_html code followed by the two lines that fixed the problem. Thanks for asking. -- Tim Cook, President - FreePM,Inc. http://www.FreePM.com Office: (731) 884-4126 ONLINE DEMO: http://www.freepm.org:8080/FreePM
[Tim Cook]
"Thomas B. Passin" wrote:
What do you mean, "without the explicit path"? How about showing the
actual
HTML BEFORE you fixed it, maybe we can figure it out. If you mean a "relative" path, IE works fine using a relative path.
I did. The orignal email has the entire index_html code followed by the two lines that fixed the problem.
Tim, you showed the DTML, not the resulting HTML. We have to see the HTML to know for sure what IE was looking at (why should we have to guess?). Cheers, Tom P
"Thomas B. Passin" wrote:
Tim, you showed the DTML, not the resulting HTML. We have to see the HTML to know for sure what IE was looking at (why should we have to guess?).
(from original posting)
If I explicitly point the frame sources like this it works fine in both browsers: <frame src="/FreePM/scheduling/menu" name="sched_menu"> <frame src="/FreePM/scheduling/<dtml-var this_year>/index_html" name="sched_main">
BTW: the error was Not Found in both frames.
I don't have the original HTML error anymore. But it was 'Not Found' in both frames for the above objects ('menu' (a DTML Method) in the sched_menu frame and '2001' (an OFS Folder) in the sched_main frame. I just thought someone more familiar with IE might have seen this before or know why it might happen? Thanks, -- Tim Cook, President - FreePM,Inc. http://www.FreePM.com Office: (731) 884-4126 ONLINE DEMO: http://www.freepm.org:8080/FreePM
participants (4)
-
Jeff Peterson -
kosh@aesaeion.com -
Thomas B. Passin -
Tim Cook