<object> Problem with IE

The following code works in Firefox AND validates as XHTML 1.0 Strict:

<object codetype=“application/java” classid=“java:lake.class” width=“423” height=“567”>
<param name=“image” value=“lovetide.jpg” />
</object>

It displays the image and the applet simulates ocean waves on the image.

It does NOT work in IE. Any idea how to do this in IE in a way that will still validate?

Thanks.

Ken

What version(s) of IE? I don’t know, but this page could possibly help:

Felgall Replacement for iframe Tag

I tried it on IE 8. I don’t have IE 9; I don’t think XP will run it.

I looked at felgall’s page. Looked mighty complicated and seemed to be solving a slightly different problem.

I did some searches on the Web, and found an article that pointed out IE handles <object> differently from other browsers. Based on that article, I tried this:

<!–[if IE]>
<object classid=“clsid:8AD9C840-044E-11D1-B3E9-00805F499D93” width=“423” height=“567”>
<param name=“code” value=“lake.class” />
<param name=“image” value=“lovetide.jpg” />
</object>
<![endif]–>

<!–[if !IE]> Not executed by IE–>
<object type=“application/x-java-applet” classid=“java:lake.class” width=“423” height=“567”>
<param name=“image” value=“lovetide.jpg” />
</object>
<!–[endif]–>

Still works with Firefox but not IE. Any help would be much appreciated. Thanks.

Ken