Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Applet doesn't work in IE 7.0 within the Java forums, part of the Software Development category; I've just found out that my applet works fine except in Internet Explorer 7. Both simple applet code as well as the htmlconverted applet code do not work only in ...
|
|||||||
|
|||
|
Applet doesn't work in IE 7.0
I've just found out that my applet works fine except in Internet Explorer 7. Both simple applet code as well as the htmlconverted applet code do not work only in Internet Explorer 7!
Anybody have a clue? (sample code follows in my next post) -------------------- suresh |
| Sponsored Links |
|
|||
|
Re: Applet doesn't work in IE 7.0
The following is my simple applet code. It simply doesn't display anything!
Code:
<APPLET CODE = "PurePlayerPro" ARCHIVE = "../../../applet/fullscreen/PurePlayerPro.jar"WIDTH = "100%" HEIGHT = "100%"> <PARAM NAME = "gui" VALUE="gui2.xml" /> <PARAM NAME = "panorama" VALUE="panorama2.xml" /> <PARAM NAME = "optimizememory" VALUE="true" /> <PARAM NAME = "mousespeed" VALUE=25> <PARAM NAME = "fullscreen" VALUE="true"> <PARAM NAME = "optimizememory" VALUE="true"> <PARAM NAME = "singlepanorama" VALUE="true"> <PARAM NAME = "usecache" VALUE="smart"> <PARAM NAME = "antialiasing" VALUE="onstop"> <PARAM NAME = "lockzenithnadir" VALUE="true"> <PARAM NAME = "quality" VALUE="100"> <PARAM NAME = "smoothstop" VALUE="128"> <PARAM NAME = "protectfullscreen" VALUE="true"> </APPLET> |
|
|||
|
Re: Applet doesn't work in IE 7.0
And the html converted applet code is as follows..
This gives an Visual C++ runtime error. Code:
<!--"CONVERTED_APPLET"-->
<!-- HTML CONVERTER -->
<script language="JavaScript" type="text/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="JavaScript" type="text/javascript"><!--
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" type="text/javascript"><!--
if (_ie == true) document.writeln('<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = "100%"
HEIGHT = "100%"
codebase="http://java.sun.com/update/1.5.0/jinstall-1_5_0_10-windows-i586.cab"><noembed><xmp>');
else if (_ns == true && _ns6 == false) document.writeln('<embed ' +
'type="application/x-java-applet;version=1.5" \
CODE = "PurePlayerPro" \
ARCHIVE = "../../../applet/small/PurePlayerPro.jar" \
WIDTH = "100%" \
HEIGHT = "100%" \
MAYSCRIPT = true \
gui ="gui.xml" \
panorama ="panorama.xml" \
optimizememory ="true" \
mousespeed ="25" \
fullscreen ="true" \
optimizememory ="true" \
singlepanorama ="true" \
usecache ="smart" \
antialiasing ="onstop" \
lockzenithnadir ="true" \
quality ="100" \
smoothstop ="128" \
protectfullscreen ="true" ' +
'scriptable=false ' +
'pluginspage="http://java.sun.com/products/plugin/index.html#download"><noembed><xmp>');
//--></script>
<applet CODE = "PurePlayerPro" ARCHIVE = "../../../applet/small/PurePlayerPro.jar"WIDTH = "100%" HEIGHT = "100%" MAYSCRIPT = true></xmp>
<PARAM NAME = CODE VALUE = "PurePlayerPro" >
<PARAM NAME = ARCHIVE VALUE = "../../../applet/small/PurePlayerPro.jar" >
<PARAM NAME = MAYSCRIPT VALUE = true >
<param name="type" value="application/x-java-applet;version=1.5">
<param name="scriptable" value="false">
<PARAM NAME = "gui" VALUE="gui.xml">
<PARAM NAME = "panorama" VALUE="panorama.xml">
<PARAM NAME = "optimizememory" VALUE="true">
<PARAM NAME = "mousespeed" VALUE="25">
<PARAM NAME = "fullscreen" VALUE="true">
<PARAM NAME = "optimizememory" VALUE="true">
<PARAM NAME = "singlepanorama" VALUE="true">
<PARAM NAME = "usecache" VALUE="smart">
<PARAM NAME = "antialiasing" VALUE="onstop">
<PARAM NAME = "lockzenithnadir" VALUE="true">
<PARAM NAME = "quality" VALUE="100">
<PARAM NAME = "smoothstop" VALUE="128">
<PARAM NAME = "protectfullscreen" VALUE="true">
</applet>
</noembed>
</embed>
</object>
<!--<APPLET CODE = "PurePlayerPro" ARCHIVE = "../../../applet/small/PurePlayerPro.jar"WIDTH = "100%" HEIGHT = "100%">
<PARAM NAME = "gui" VALUE="gui.xml" />
<PARAM NAME = "panorama" VALUE="panorama.xml" />
<PARAM NAME = "optimizememory" VALUE="true" />
<PARAM NAME = "mousespeed" VALUE=25>
<PARAM NAME = "fullscreen" VALUE="false">
<PARAM NAME = "optimizememory" VALUE="true">
<PARAM NAME = "singlepanorama" VALUE="true">
<PARAM NAME = "usecache" VALUE="smart">
<PARAM NAME = "antialiasing" VALUE="onstop">
<PARAM NAME = "lockzenithnadir" VALUE="true">
<PARAM NAME = "quality" VALUE="100">
<PARAM NAME = "smoothstop" VALUE="128">
<PARAM NAME = "protectfullscreen" VALUE="true">
</APPLET>
</APPLET>-->
<!--"END_CONVERTED_APPLET"-->
Any help would be appreciated! ----------------------- suresh |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Applet user properties | Geek_Guest | Seibel | 1 | 07-27-2009 05:09 AM |
| print variable value on an applet.... | psuresh1982 | Java | 1 | 08-30-2007 07:35 AM |
| pass parameter to applet in another window | psuresh1982 | Java | 1 | 08-22-2007 04:00 AM |
| How to set x and y positions in the Applet | ashokraja_cm | Java | 1 | 02-21-2007 02:39 AM |
| Trusted and Untrusted applet | JobHelper | Java | 1 | 12-06-2006 03:20 AM |