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. Advertisements

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

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:
    1,134
    Purvi T
    Oct 19, 2004
  2. mike parr
    Replies:
    1
    Views:
    700
    Marina
    May 20, 2004
  3. Ben Fidge
    Replies:
    5
    Views:
    934
    S. Justin Gengo
    Jun 15, 2004
  4. Amy
    Replies:
    0
    Views:
    1,263
  5. GauravGupta
    Replies:
    2
    Views:
    2,086
    =?ISO-8859-1?Q?G=F6ran_Andersson?=
    Jul 1, 2007
  6. Max2006
    Replies:
    2
    Views:
    1,818
    Walter Wang [MSFT]
    Sep 19, 2007
  7. crazytazo
    Replies:
    3
    Views:
    1,457
    Daniel Pitts
    Oct 7, 2008
  8. Cathey

    On click of a button to call an applet

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