:)will become
Edited by Avalanche, 11 July 2005 - 04:12 PM.
Posted 11 July 2005 - 04:12 PM
:)will become
Edited by Avalanche, 11 July 2005 - 04:12 PM.
Posted 12 July 2005 - 05:37 AM
<img src="images/biggrin.gif" alt="Big grin" width="15" height="15" onClick="smilie(':grin:')">
Where :grin: is in the brakets chnage that to how you want your smilie code to like in the textbox.function smilie(name) {
document.gb_form.message.value += name;
document.gb_form.message.focus();
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script type="text/javascript">
<!--
function smilie(name) {
document.gb_form.message.value += name;
document.gb_form.message.focus();
}
//-->
</script>
</head>
<body>
<form action="#" method="post" name="gb_form">
<img src="images/biggrin.gif" alt="Big grin" width="15" height="15" onClick="smilie(':grin:')">
<textarea name="message" cols="15" rows="10">
</textarea>
</form>
</body>
</html>
Edited by softLearner, 12 July 2005 - 05:40 AM.
Posted 12 July 2005 - 05:49 AM
Edited by Avalanche, 12 July 2005 - 10:00 AM.
0 members, 1 guests, 0 anonymous users