Results 1 to 6 of 6

Thread: <object> tag is not working in Mozilla

  1. #1
    Join Date
    Aug 2006
    Posts
    122

    <object> tag is not working in Mozilla

    Hi Friends,
    I am new in programming language. I have just started with Java and the HTML. Now i am trying to deploy one applet in HTML page. I have written that code inside the <object> tag. The same code is working in Internet Explorer. I am thinking that <object> tag is not working in Mozilla. Is it true.?? Will I have to install some add-ins for running that program properly in Mozilla.?
    As you simplify your life, the laws of the universe will be simpler; solitude will not be solitude, poverty will not be poverty, nor weakness.Henry David Thoreau

  2. #2
    Join Date
    Mar 2008
    Posts
    672

    Re: <object> tag is not working in Mozilla

    Are you having the Updated version of Mozilla.?? There are issues with some tags with the Mozilla, which runs on Internet Explorer properly. I don't think that there is need of some add-ons or the plug-ins. It will be better if you provide the sample of your code.!! I as well as others, can try to fix that error. Also many time this happens when some files of Mozilla are corrupted. So also try to repair your Mozilla and then try to run the same program again.

  3. #3
    Join Date
    Mar 2008
    Posts
    349

    Re: <object> tag is not working in Mozilla

    According to me the Mozilla FireFox should support the <OBJECT> fine. The problem is that not every webmaster knows how to use this tag - anything can be added to the page with the OBJECT tag including Java applet, Flash animation, video etc. So according to me the problem is of the "webmasters" adds object using OBJECT tag but it's inserted as ActiveX. So the browsers that cannot run ActiveX won't display these objects. So it will be better for you to stick to the Internet Explorer.

  4. #4
    Join Date
    Aug 2006
    Posts
    122

    Re: <object> tag is not working in Mozilla

    Thanks Guys, for trying to solve my problem. I have given the code which is working properly in Internet Explorer but not working in Mozilla.
    HTML Code:
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH=600 HEIGHT=300 ALIGN=TOP codebase="/javaplugin/j2re1_3_0-win.exe">
    <PARAM NAME=CODE VALUE="com.GraphTrial.class">
    <PARAM NAME=ARCHIVE VALUE="/javaplugin/appletgraphs.jar">
    <PARAM NAME=speed VALUE="8">
    <PARAM NAME=backgroundcolor VALUE="221,221,221">
    <PARAM NAME=title VALUE="GraphTrial">
    
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.2">
    </OBJECT>
    Is there any way to deploy applet for Mozilla.??
    As you simplify your life, the laws of the universe will be simpler; solitude will not be solitude, poverty will not be poverty, nor weakness.Henry David Thoreau

  5. #5
    Join Date
    Jul 2006
    Posts
    289

    Re: <object> tag is not working in Mozilla

    I was facing the similar problem. I solved this by using the following coding :
    Code:
    <!--[if !IE]>-->
    <OBJECT classid="java:myapplet.class" type="application/x-java-applet;version=1.2" 
            height="300" width="600" >
    <!--<![endif]-->        
           <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH=600 HEIGHT=300 ALIGN=TOP>
                            <PARAM NAME="CODE" VALUE="myapplet.class" />
                           <PARAM NAME="type" VALUE="application/x-java-applet;version=1.2" />
    
           </OBJECT>
    <!--[if !IE]>-->
    </OBJECT>
    <!--<![endif]-->
    Firefox and others will use the outer object to active the Java Plug-in. Where the inner object is for Internet Explorer.
    Signatures reduce available bandwidth

  6. #6
    Join Date
    Aug 2006
    Posts
    227

    Re: <object> tag is not working in Mozilla

    The Java plugin test page uses this :
    Code:
    <applet codebase="../../../applet" code="testvm.class"
    alt="Java Runtime Environment is not working properly on your system"
    height="270" width="385"> <br></applet>
    And venus_de_mpls's link uses this :
    Code:
    <!--[if !IE]>-->
          <object classid="java:Sample2.class"
                  type="application/x-java-applet"
                  archive="Sample2.jar"
                  height="300" width="450" >
          <!--<![endif]-->
            <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
                    height="300" width="450" >
              <param name="code" value="Sample2" />
              <param name="archive" value="Sample2.jar" />
            </object>
          <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
    The first mentioned coding is one with an ActiveX control for Internet Explorer. And the second is one without for other browsers. So you can use the second in Mozilla.
    I do to dead flowers what people at morgues do to dead people. Suck all the moisture out, dip them in plastic, paint them up pretty and put them in a nice frame.

Similar Threads

  1. YouTube not working on Mozilla Firefox 6 and Mozilla Firefox 7
    By Kedar!nath in forum Technology & Internet
    Replies: 7
    Last Post: 29-08-2011, 01:32 AM
  2. Replies: 6
    Last Post: 06-06-2011, 01:34 AM
  3. Replies: 3
    Last Post: 08-01-2011, 06:20 AM
  4. GPO not working, Error : The policy object does not exist
    By Samra in forum Networking & Security
    Replies: 4
    Last Post: 05-01-2010, 07:53 PM
  5. Object reference not set to an instance of an object
    By KAIRU26 in forum Software Development
    Replies: 3
    Last Post: 05-09-2009, 08:14 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,665,758.29758 seconds with 17 queries