User 143c71d535
21-09-2007 18:07:37
Using my examples below, what is the correct syntax for using the HTML Object tag instead of the Applet tag? Thanks!
First, here is my successful Applet tag:
<applet name="SamMarvinMolecule" code="JMView" archive="marvin/jmarvin.jar" width="250" height="250">
<param name="mol" value="...mol-string-here..." />
<applet/>
Here is my attempt at doing the same with Object, which does not work ("class JMView not found"):
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="250" height="250" name="JMView">
<param name="codebase" value="marvin"/>
<param name="archive" value="marvin.jar"/>
<param name="code" value="JMView"/>
<param name="mol" value="...mol-string-here..." />
<object/>
First, here is my successful Applet tag:
<applet name="SamMarvinMolecule" code="JMView" archive="marvin/jmarvin.jar" width="250" height="250">
<param name="mol" value="...mol-string-here..." />
<applet/>
Here is my attempt at doing the same with Object, which does not work ("class JMView not found"):
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="250" height="250" name="JMView">
<param name="codebase" value="marvin"/>
<param name="archive" value="marvin.jar"/>
<param name="code" value="JMView"/>
<param name="mol" value="...mol-string-here..." />
<object/>