applet to object

S

sck10

Hello,

I am trying to convert an applet to an object. The applet works, but I
can't get the <object> to work and I'm not getting any error codes, just a
square box with an "x" in it.

Any suggestions with this would be appreciated.

Thanks, sck10




<applet width="100%" height="100%">
<param name="code"
value="com.touchgraph.linkbrowser.LinkBrowserApplet.class" />
<param name="archive" value="TGLinkBrowser.jar, nanoxml-2.1.1.jar,
BrowserLauncher.jar" />
<param name="type" value="application/x-java-applet;version=1.3" />
<param name="scriptable" value="false" />
<param name="browser" value ="yes" />
<param name="targetFrame" value= "targetFrame" />
<param name="externalFrame" value= "externalFrame" />
<param name="initialXmlFile" value="<%=getXmlSpider()%>" />
<%--<param name="initialXmlFile" value="20061127.xml" />--%>
</applet>


<object
classid="java:com.touchgraph.linkbrowser.LinkBrowserApplet.class"
type="application/x-java-applet"
archive="TGLinkBrowser.jar, nanoxml-2.1.1.jar, BrowserLauncher.jar"
width="100%" height="100%" >
<param name="code"
value="com.touchgraph.linkbrowser.LinkBrowserApplet.class" />
<param name="codebase" value="../../xaspx/db_spidergraph/" />
<param name="scriptable" value="false" />
<param name="browser" value ="yes" />
<param name="targetFrame" value="targetFrame" />
<param name="externalFrame" value="externalFrame" />
<param name="initialXmlFile" value="20061127.xml" />
</object>
 
S

Steven Cheng[MSFT]

Hi Steve,

The <applet> element is deprecated in HTML 40 and we're recommended to use
the "<object>" element. e.g.

========
<OBJECT codetype="application/java"
classid="AudioItem"
width="15" height="15">
<PARAM name="snd" value="Hello.au|Welcome.au">
Java applet that plays a welcoming sound.
</OBJECT>


===========

Here is the HTML 40 specification on the <object>element(include using
applets)

#13 Objects, Images, and Applets
http://www.w3.org/TR/html4/struct/objects.html

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top