Results 1 to 7 of 7

Thread: Firefox 3 and the text/html-object

  1. #1
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default Firefox 3 and the text/html-object

    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:
    Code:
    <object classid="clsid:25336920-03F9-11CF-8FD0-00AA00686F13" type="text/html" data="bla.html" ></object>
    but
    Code:
    <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.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Quote Originally Posted by Twey View Post
    Validation purposes?
    That was explicitly mentioned here, but now I see that they suppressed it.
    ==
    Arie.

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Quote Originally Posted by Twey View Post
    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.

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by molendijk View Post
    That was explicitly mentioned here, but now I see that they suppressed it.
    ==
    Arie.
    Quote Originally Posted by molendijk View Post
    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Quote Originally Posted by jscheuer1 View Post
    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •