View Full Version : Firefox 3 and the text/html-object
molendijk
09-18-2008, 12:29 PM
Some people give classid="clsid:25336920-03F9-11CF-8FD0-00AA00686F13" to their text/html-object (for validation purposes).
Firefox3 users may have noticed, however, that this causes the object not to function at all. So don't do:
<object classid="clsid:25336920-03F9-11CF-8FD0-00AA00686F13" type="text/html" data="bla.html" ></object> but
<object type="text/html" data="bla.html" ></object>
(A couple of threads I posted suffer from this. I'm too lazy to correct it).
===
Arie.
Validation purposes? That inane GUID is for IE/Windows/ActiveX, and denotes a handler. It's not really the use to which the 'classid' attribute is meant to be put.
molendijk
09-18-2008, 10:35 PM
Validation purposes?
That was explicitly mentioned here (http://aplus.rs/web-dev/insert-html-page-into-another-html-page/), but now I see that they suppressed it.
==
Arie.
It was the whole <object> scheme that was used for validation purposes (in order to avoid the dreaded <iframe>). The standard <object> requires nothing other than the type and the data. IE is the one that requires the classid-GUID hack.
molendijk
09-19-2008, 09:08 AM
IE is the one that requires the classid-GUID hack.
Yes, and that's why I used to apply the hack, since it didn't seem to bother the other browsers ... until FF3 came along.
Sidenote: even IE's version 7 cannot load pages from a foreign domain into the text/html-object.
===
Arie.
jscheuer1
09-22-2008, 03:00 PM
That was explicitly mentioned here (http://aplus.rs/web-dev/insert-html-page-into-another-html-page/), but now I see that they suppressed it.
==
Arie.
Yes, and that's why I used to apply the hack, since it didn't seem to bother the other browsers ... until FF3 came along.
Sidenote: even IE's version 7 cannot load pages from a foreign domain into the text/html-object.
===
Arie.
If you follow the instructions (using the conditional comments) from the link in your first quote, you will not have the problem mentioned in your second quote.
molendijk
09-22-2008, 04:51 PM
If you follow the instructions (using the conditional comments) from the link in your first quote, you will not have the problem mentioned in your second quote.
I did that first. Then I noticed that non-IE was not bothered by the classid, so I took away the conditional comments. But now it seems that we need them after all, because FF3 doesn't like the classid.
So yes, that's what I wanted to say: don't use the classid for non-IE.
===
Arie.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.