Calling Applet With JavaScript?

Discussion in 'JavaScript' started by wolfcry, Sep 9, 2008.

  1. #1
    Hello,


    I've been trying to work on a javascript function to call this applet:

    <applet code="MyClass.class"
       codebase="http://www.mysitehere.com/applet"
       archive="applet_en.zip" width="600" height="425"
       alt="lounge" MAYSCRIPT>
       <param name="room" value="232289">
    
    </applet>
    Code (markup):
    The reason I'm trying to get this to work is because I'd like to be able to allow my visitors the ability to call the JS function from their web page like so:

    
    <script type="text/javascript"
      src="http://www.mysitehere.com/JS_include/applet_code.js">
    </script>
    
    Code (markup):
    and have that applet automatically run seamless.

    No matter how I try to write the JS function, I cannot get this to work.

    How do I go about writing this function so it works properly?

    I've searched the forums and web searched but could not find anything that remotely touched on this.

    Thanks for your help.
     
    wolfcry, Sep 9, 2008 IP
  2. wolfcry

    wolfcry Peon

    Messages:
    27
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Wow, look at all the nice replies to my question lol.

    Never mind, while waiting I figured it out.
     
    wolfcry, Sep 10, 2008 IP