On click of a button to call an applet

Discussion in 'Java' started by Cathey, Jul 7, 2003.

  1. Cathey

    Cathey Guest

    My web page displays live images of size (640X380) using applet.
    On Click of a button I need to display (320X240) in the same place.
    How do I write a JavaScipt for this.
    Thanks
    Karthey


    <HTML>
    <HEAD>
    <meta name="GENERATOR" Content="Microsoft Visual Studio.NET 7.0">
    <script id="clientEventHandlersJS" language="javascript">

    function Button1_onclick()
    {
    }

    </HEAD>
    <body>
    <INPUT id="Button1" type="button" value="320X240" name="medimg"
    onclick="return Button1_onclick()">
    <table width="714" ID="Table1">
    <tr>
    <td width="640" height="480" rowspan="6">
    <APPLET id="Applet1" style="WIDTH: 640px; HEIGHT: 480px"
    height="480" width="483" align="top" code="CamView.class"
    name="CamViewApplet" viewastext>
    <PARAM NAME="imagefile" VALUE="<%=imageFile%>">
    </APPLET>
    </td>
    </tr>
    </table>
    </body>
    </HTML>
     
    Cathey, Jul 7, 2003
    #1
    1. Advertising

  2. Andrew Thompson, Jul 7, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Purvi T
    Replies:
    0
    Views:
    846
    Purvi T
    Oct 19, 2004
  2. mike parr
    Replies:
    1
    Views:
    477
    Marina
    May 20, 2004
  3. Amy
    Replies:
    0
    Views:
    990
  4. crazytazo
    Replies:
    3
    Views:
    1,257
    Daniel Pitts
    Oct 7, 2008
  5. Cathey

    On click of a button to call an applet

    Cathey, Jul 7, 2003, in forum: Javascript
    Replies:
    0
    Views:
    104
    Cathey
    Jul 7, 2003
Loading...

Share This Page