[!--quoteo(post=320562:date=Nov 20 2005, 08:15 PM:name=moberemk)--][div class=\'quotetop\']QUOTE(moberemk @ Nov 20 2005, 08:15 PM) 320562[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Try addinga Javascript onSubmit property to your form that plays a sound. As for what happens when you press enter, don't look at me.
This is the a part of the index.php I have to work with. Where and how would I use that function? I am learning this as I go. Thanks to anyone who helps me out.
.....
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript">
<!--
function TAG_Pop(URL, WID, HEI) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=" + WID + ",height=" + HEI + "');");
}
function tagSubmit() {
document.tagger.message.focus();
document.tagger.comment.value = document.tagger.message.value;
document.tagger.message.value = '';
}
</script>
</head>
<body>
<form action="sign.php" name="tagger" method="get" onsubmit="javascript: tagSubmit();" target="tags">
<div id="tagFrame">
<iframe class="tagsFrame" src="tags.php?show=limit&skin=<?=$_GET['skin']?>" name="tags" frameborder="0" scrolling="yes">
Sorry, you need inline frames to fully see this page.
</iframe>
</div>
<?php
if ($_COOKIE['data']['name']) $input[name] = $_COOKIE['data']['name']; else $input[name] = "name";
if ($_COOKIE['data']['mail']) $input[mail] = $_COOKIE['data']['mail']; else $input[mail] = "http://";
?>
<div id="inputFrame">
<input type="hidden" name="style" value="<?=$_GET['skin']?>" />
<input type="hidden" name="comment" value="" />
<div class="inputBox">
<div align="center"><br>
</div>
<div align="center">
<input type="text" size="25" name="name" value="<?=$input[name]?>" class="input" maxlength="22" />
</div>
</div>
<div class="inputBox">
<div align="center">
<input type="text" size="100" name="message" value="" class="input" maxlength="1500" />
<span class="inputSBox">
<input type="submit" value=" send " class="button" />
</span> <span class="inputSBox"> </span></div>
</div>
<div class="inputSBox"></div>
<div class="textBox">
<div align="center">
</div>
</div>
</form>
........