Various ways of making (a) dialog box(es) appear on the screen.
<ul>
<li>Press the button to generate a message:
<FORM><INPUT TYPE="button" Value=" Button " onClick="alert('This is a simple message.')")></FORM>
<li>You can also use radio buttons.
<FORM METHOD="post" NAME="message"><B>My Radio Button</B>
<input type="radio" name="message" onClick="alert('Another simple message')")></FORM>
<li>You can also generate a series of messages. Click this button. You'll get three messages in a row.
<FORM><INPUT TYPE="button" Value=" Button " onClick="alert('Message 1');alert('Message 2');alert('Message 3')")></FORM>
<li>Try out your own message!
<FORM><TEXTAREA NAME="text" ROWS="3" COLS="30"></textarea>
<INPUT TYPE="button" VALUE="Alert Test!" onClick="alert(this.form.text.value)"></FORM>
<li>Now put your pointer over the phrase and watch the message that pops up.<br>
<A HREF="" ONMOUSEOVER = "alert('Annoying popup thingy!')")>
Place your pointer here</a>
</ul>
Return to the Java Scriptorium.