0 Replies Latest reply: May 12, 2014 12:31 AM by f7bbef97-57f4-42f3-957f-f612e8047395 RSS

    java applet how to work with multiple browsers especially with Safari 5.1

    f7bbef97-57f4-42f3-957f-f612e8047395

      Now i have a self-signed applet, it can correctly work with browsers IE, Firefox and Chrome except Safari.

      i don't know how to deal with the Safari. what other parameters does the Safari need?

       

      the code in HTML like below:

      <!--[if !IE]> Firefox and others will use outer object -->

      <object classid="java:com.keithley.SCPI.SCPIApplet.class" type="application/x-java-applet;version=1.6" archive="../jar/SCPI.jar" height="480" width="640">

      <param name = "scriptable"   value = "true">

      <!-- Konqueror browser needs the following param -->

      <param name = "ARCHIVE"    value = "../jar/SCPI.jar">

               <!-- (Microsoft Internet Explorer) will use inner object -->

               <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codebase="http://java.sun.com/update/1.6.0/jinstall-6u35-windows-i586.cab#Version=6,0,0,10"

                       height="480" width="640" >

                       <param name = "CODE"       value = "com.keithley.SCPI.SCPIApplet.class">

                       <param name = "ARCHIVE"    value = "../jar/SCPI.jar">

                       <param name = "type"       value = "application/x-java-applet;version=1.6">

                       <param name = "scriptable" value = "false">

                </object>

                 <!--[if !IE]> close outer object -->

      </object>