true... (some general analysis inside)
Ups ] [ Post
Followup ] [ CPU-Central Message Board ] [ Home ]
Subject: true... (some general analysis inside)
Date: 1/4/2002 9:25:48 AM (GMT-7)
IP Address: 184.108.40.206
In Reply to: Netscape 6 and higher can recognize IFRAME posted by
in the url is a .jpg which is an image and no text. the http header from the server contained a "text/html" for content type, I belive.
now, IE sees the http header and forgets about the fact that he'd actually receive an image and interpretes the html code that's being sent from the server.
ns6.2 on the other hand ignores the "text/html" in the http header (which is not correct, I think) and expects a binary stream to come from the server. instead, there comes some text and the browser can't identify the image because there's no valid header in the sent data and ns6.2 displays nothing.
I then saved the code to a local file and opened it with ns6.2 - ns did recognice the iframe tag but didn't access the c:\ which is, I believe, not correct.
JScript is not allowed to access any local files and must work within the browser's boundaries. IE often allows acces to local files trough jscript, which is wrong (see an earlier post, getobject).
but the browser itself may access local files and therefore, IE's behaviour is quite correct, I think...
FollowUps | Post
[No follow-ups for this posting]
Post a Followup
Ups ] [ Post
Followup ] [ CPU-Central Message Board ]