• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help getting applet to work in IE7

 
Gus Wilco
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Several years ago (2004) I placed an applet on out my webpage. It worked with most browsers back then. Today, that applet works fine in IE6 and Firefox, but does not load at all in IE7. Do I need to update how the applet is embedded? Here is the code snippet:

<!--"CONVERTED_APPLET"-->
<!-- HTML CONVERTER -->
<SCRIPT language="JavaScript"><!--
var _info = navigator.userAgent;
var _ns = false;
var _ns6 = false;
var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);
//--></SCRIPT>
<COMMENT>
<SCRIPT language="JavaScript1.1"><!--
var _ns = (navigator.appName.indexOf("Netscape") >= 0 && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0) || (_info.indexOf("AIX") > 0) || (_info.indexOf("OS/2") > 0) || (_info.indexOf("IRIX") > 0)));
var _ns6 = ((_ns == true) && (_info.indexOf("Mozilla/5") >= 0));
//--></SCRIPT>
</COMMENT>

<SCRIPT language="JavaScript"><!--
if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = 1 HEIGHT = 1 codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0"><NOEMBED><XMP>');
else if (_ns == true && _ns6 == false) document.writeln('<EMBED type="application/x-java-applet;version=1.4" CODE = "AdMakerApp.AdMakerApp.class" ARCHIVE = "AdMakerApp.jar" WIDTH = 1 HEIGHT = 1 pw ="go571"/ scriptable=false pluginspage="http://java.sun.com/products/plugin/index.html#download"><NOEMBED><XMP>'); //--></SCRIPT>

<APPLET code = "AdMakerApp.AdMakerApp.class" archive = "AdMakerApp.jar" width = 1 height = 1></XMP>
<PARAM name = CODE value = "AdMakerApp.AdMakerApp.class" >
<PARAM name = ARCHIVE value = "AdMakerApp.jar" >
<PARAM name="type" value="application/x-java-applet;version=1.4">
<PARAM name="scriptable" value="false">
<PARAM name = "pw" value="demo"/>


</APPLET>
</NOEMBED>
</EMBED>
</OBJECT>

<!--"END_CONVERTED_APPLET"-->
 
Norm Radder
Ranch Hand
Posts: 734
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an old applet with old HTML and it works in IE7.
Waypoints
Is there anything in the Java console?
Do you have the java plugin?
[ August 01, 2008: Message edited by: Norm Radder ]
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried it without all the mumble-jumble, just with an <applet> tag?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic