Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Add Text In Input-field
gotcha41
post May 4 2005, 11:27 AM
Post #1


Advanced Member
*******

Group: Members
Posts: 142
Joined: 24-September 04
From: Belgium
Member No.: 1,260



this is a picture of my shoutbox:
user posted image

one problem:
the links/code for adding one of the smilies to the message-input-field (text: e.g. laugh.gif , unsure.gif ,...) are missing. Does someone knows how this can be fixed?

-the name of the message-input-field is "message".

thanks in advance! cool.gif
Go to the top of the page
 
+Quote Post
gotcha41
post May 4 2005, 11:32 AM
Post #2


Advanced Member
*******

Group: Members
Posts: 142
Joined: 24-September 04
From: Belgium
Member No.: 1,260



EDIT: laugh.gif and unsure.gif should be
CODE
:lol: and :unsure:
Go to the top of the page
 
+Quote Post
nipun
post May 5 2005, 08:36 AM
Post #3


Newbie [Level 2]
**

Group: Members
Posts: 29
Joined: 5-May 05
Member No.: 6,649



The code is
<input type=text name=whatever the name value="value">
Go to the top of the page
 
+Quote Post
gotcha41
post May 5 2005, 10:19 AM
Post #4


Advanced Member
*******

Group: Members
Posts: 142
Joined: 24-September 04
From: Belgium
Member No.: 1,260



nipun
The code is
<input type=text name=whatever the name value="value">


ok, thanks! i will try this and post the results as soon as possible cool.gif
Go to the top of the page
 
+Quote Post
gotcha41
post May 12 2005, 09:18 AM
Post #5


Advanced Member
*******

Group: Members
Posts: 142
Joined: 24-September 04
From: Belgium
Member No.: 1,260



nipun


ok, here are the results:

remark:

- the text should solely appear if something (an image) get clicked, so nipun, your solution to the problem/my question isn't what i was looking for. But anyway, thanks for responding! cool.gif

- the code i've needed is as follow:
CODE

[i]<head>
<script language="JavaScript" type="text/JavaScript">

function addsmiley(code)
{
 document.formname.inputname.value += ''+code+'';

}
</script>

</head>[/i]


-my problem is solved/question has been answered, topic can be closed now? tongue.gif

This post has been edited by s243a: May 12 2005, 05:06 PM
Go to the top of the page
 
+Quote Post
Inspiron
post May 16 2005, 03:39 PM
Post #6


Trap Grand Marshal Member
***********

Group: Members
Posts: 1,203
Joined: 25-March 05
Member No.: 4,883



Hey but your shoutbox provider should provide the codes properly..
You have to refer to them..

Different providers provide differently smile.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Word Wrap Text In Div.(16)
  2. Select All Text In A Form Field On Click(1)
  3. Text Problem(6)
  4. Centered Div Layout Issues(2)
  5. Any Advice From Experts?(3)


 



- Lo-Fi Version Time is now: 13th October 2008 - 02:44 AM