Results 1 to 6 of 6

Thread: Warning: <object> tag requires code attribute

  1. #1

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418

    Resolved Warning: <object> tag requires code attribute

    After running the appletviewer i got this interesting message.
    Warning: <object> tag requires code attribute

    Is firefox stupid? The <OBJECT></OBJECT> tags dont use the code attribute. They use the classid attribute.

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Where do you get the message?

    object has codebase and data attributes, maybe it means those.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    The messsage was from dos. Firefox seems not to recognize the <OBJECT></OBJECT> tags. I figured since it was looking for the code attribute i should give it the <APPLET></APPLET> tags instead.

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    It does recognize them, under very controlled circumstances. In some areas, its support for <object> is far better than IE's. Specifically in those areas described by the standard.

    What do you mean by "after running the applet viewer", btw?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    Posted by CornedBee

    What do you mean by "after running the applet viewer", btw?
    C:\j2sdk1.4.1_05\bin> appletviewer file:///C:/avatar.html

  6. #6

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    Funny the appletviewer runs fine when the applet tags are used or the object tags are used both with the code attribute. FireFox only recognizes the applet tags.

Posting Permissions

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



Click Here to Expand Forum to Full Width