Results 1 to 4 of 4

Thread: Applet doesn't work in IE 7.0

  1. #1
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    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


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    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>



  3. #3
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    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"-->
    I have no idea what MS has done to IE7...
    Any help would be appreciated!

    -----------------------
    suresh


  4. #4

    Re: Applet doesn't work in IE 7.0

    But this is working for me...can you please use single tab to run


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact