Subject Message Box


Copy and Paste:
<!-- Place this in the Head section of your document -->
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available online from -->
<!-- Data~Creek Design!! http://datacreek.com/design -->
<!-- Original: Stephanie M. Clarkson (thespian@sleepingcat.com) -->
<!-- Begin
var messages = new Array(6);
messages[0] = "";
messages[1] = "Have you ever seen anything like this before?";
messages[2] = "Can you imagine how you could use it on your site?";
messages[3] = "It's great for sharing lots of information.";
messages[4] = "And doesn't take up much space! ";
messages[5] = "Click below to get the code and put it on your site!";
function messageReveal() {
var messageindex = document.messageForm.messagePick.selectedIndex
document.messageForm.messageField.value = messages[messageindex];
}
// End -->
</SCRIPT>
<!-- End Head Section -->

<!-- Form goes in "body" of your document -->
<form name="messageForm">
<select name="messagePick" OnChange="messageReveal()">
<option value="0">The Menu Message
<option>Seen this before?
<option>Possible uses?
<option>Shares Information
<option>Saves space
<option>Get the code!
</select>
<br><p>
<textarea name="messageField" rows=6 cols=50 wrap=virtual></textarea>
</form>


Get the Script


html~Creek