HighDots Forums  

newbie Problems with Applet tags

alt.html.tags alt.html.tags


Discuss newbie Problems with Applet tags in the alt.html.tags forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
J W
 
Posts: n/a

Default newbie Problems with Applet tags - 10-13-2003 , 09:32 PM






I need help,

I've writen an Applet using Swing. IE woun`t run it with out a certain
Object
tag (see Below). the same tag will not work in Netscape/Mozilla (see Below
again). Can someone give me a tag that will work with both IE and
Netscape/Mozilla either using the <object> tag or classic <applet> tag. I
have JVM 1.4 from Sun installed, these tags were copied from sites I found
in doing searches on the web for this question. Is this just something wrong
with my machine or what?

I found this article which explaines part of the problem I'm having:
http://groups.google.com/groups?q=ap...nsc01&rnum= 4

Here Are the Tags::

IE Object tag

<OBJECT
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="300" height="150"
codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Vers
ion=1,3,0,0">
<param name="code" value="MyApplet.class"/>
<param name="type" value="application/x-java-applet;version"1.3/>
</OBJECT>


Netscape/Mozilla Object tag

<object codebase="." data="MyApplet.class" type="application/java"
width="300" height="150" align="left" classid="java:MyApplet.class"
name="testApplet">

</object>

Classic Applet Code (works only with Netscape/mozilla)
<applet code = "MyApplet.class" width = 275 height = 65>
</applet>
--
Thanks,
Jim W. ( wecsuperg (AT) hotmail (DOT) com )



--
Thanks,
Jim W. ( jaws797 (AT) charter (DOT) net )



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.