W3C home > Mailing lists > Public > www-html@w3.org > May 2003

Re: object code=

From: Brian V Bonini <b-bonini@cox.net>
Date: 20 May 2003 15:44:49 -0400
To: www-html@w3.org
Message-Id: <1053459889.4713.250.camel@gfxdesign>

FYI:

<object classid="java:announcer.class" ... etc

is what I ended up getting to work and validate.

-Brian

-- SNIP --

I suppose a better way to ask this would of been:

How does one display a jave applet successfully in an xhtml 1.1
conforming document

-Brian

On Tue, 2003-05-20 at 10:27, Brian V Bonini wrote:

> What is the proper replacement for the code attribute in the object element for xhtml1.1 ?
> 
> Trying to get this to validate but the validator keeps complaining about
> the code element:
> 
> Line 60, column 98:  there is no attribute "code" (explain...). 
>           ...while the application loads..." code="WebCam_Viewer.class" width="352" height
> 
>   58:    <td valign="middle">
>   59:     <p style="text-align:center">
>   60:     <object codetype="application/java" standby="Please wait while the application loads..." code="WebCam_Viewer.class" width="352" height="308">
>   61:     <p>If you can see this text, then your browser apparently can't run the necessary Java application.</p>
>   62:     <param name="COLOR" value="#FFFFFF" />
>   63:     <param name="IMAGE" value="capture0.jpg" />
>   64:     </object>
>   65:     </p><object codetype="application/java" standby="Please wait while the application loads..." code="WebCam_Viewer.class" width="352" height="308">
>   61:     <p>If you can see this text, then your browser apparently can't run the necessary Java application.</p>
>   62:     <param name="COLOR" value="#FFFFFF" />
>   63:     <param name="IMAGE" value="capture0.jpg" />
>   64:     </object>
Received on Tuesday, 20 May 2003 15:40:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:55 GMT