Listing 2

Listing 2 which handles the button presses


<!-- Copyright 1995 Sierra On-Line, Inc. -->
<HTML>
<HEAD>
<TITLE>Sierra On-Line . - Stock Market Challenge</TITLE>
<H1><IMG SRC="/CHALNGE.GIF">Challenge List & Join Challenge</H1>
</HEAD>
</BODY>

<!-- Within a form, the hidden fields can be used to store information you
     later want to retrieve.  The information is not displayed for the user
     unless they look at the page source. -->

<FORM METHOD="POST" ACTION="http://smc.sierra.com/cgi-bin/SMCSrvr.cgi">
<INPUT TYPE="hidden" NAME="UserID" VALUE=11>
<INPUT TYPE="hidden" NAME="Challenge" VALUE=12>
<INPUT TYPE="hidden" NAME="ThisPage" VALUE=2>
<INPUT TYPE="hidden" NAME="BackTo" VALUE=1>
<HR>
   .
   .
<!-- The INPUT TYPE=IMAGE command places a sensative bitmap on the page,
within the form.  When the user clicks on the bitmap, you get the
X and Y coorrdinates of the click -->
   .
   .
<INPUT TYPE="IMAGE" NAME="SELCT1" SRC="/SELTCH1.GIF">
   .
   .
</FORM>
</HTML>

Listing 2 which handles the button presses


Back to Main Article