airforcefc
03-17-2007, 07:44 AM
Hello,
I have 22 Smileys in a folder I want to be able to let the User click on an image and a small window opens with all the smileys within, once user clicks on the image they want it goes into the Text field, once the user clicks submit then the whole text data entered including the URL of any Smileys they added will go into the Database so when viewing back what the User has entered it will also display the Smileys, any help would be appreciated,
Here is my code so far:
<table width="500" border="1" cellspacing="0" cellpadding="0">
<form action="test.php" method="post" name="chat" id="chat">
<tr valign="bottom">
<td width="390" align="right">
<HERE I WANT TO BE ABLE TO HAVE SMILEY BUTTON TO SELECT AND INPUT INTO TEXT FIELD WHEN SELECTED>
<input name="message" type="text" id="message" size="68" maxlength="200">
</td>
<td width="110"> <input name="Submit" type="submit" onClick="MM_validateForm('message','','R');return document.MM_returnValue" value="Submit">
</td>
</tr>
</form>
</table>
I have 22 Smileys in a folder I want to be able to let the User click on an image and a small window opens with all the smileys within, once user clicks on the image they want it goes into the Text field, once the user clicks submit then the whole text data entered including the URL of any Smileys they added will go into the Database so when viewing back what the User has entered it will also display the Smileys, any help would be appreciated,
Here is my code so far:
<table width="500" border="1" cellspacing="0" cellpadding="0">
<form action="test.php" method="post" name="chat" id="chat">
<tr valign="bottom">
<td width="390" align="right">
<HERE I WANT TO BE ABLE TO HAVE SMILEY BUTTON TO SELECT AND INPUT INTO TEXT FIELD WHEN SELECTED>
<input name="message" type="text" id="message" size="68" maxlength="200">
</td>
<td width="110"> <input name="Submit" type="submit" onClick="MM_validateForm('message','','R');return document.MM_returnValue" value="Submit">
</td>
</tr>
</form>
</table>