Page 1 of 1

smilies insertion

Posted: Tue Aug 10, 2004 11:49 am
by buddok
hey well ive got smilies for my shoutbox, to view them u click a link and a lil window opens does anyone no how to make the smilies so taht when they are clicked the correct text is inserted back to my shoutbox message box ?

like the ones used on here wen writing a post but sends to another page

Posted: Tue Aug 10, 2004 1:52 pm
by feyd
generally it's:

Code: Select all

window.opener.formsї'your_form_name'].elementsї'your_shout_box''s_textbox'].value += 'smiley_tag_text';

Posted: Tue Aug 10, 2004 5:30 pm
by tim
this topic was discussed more in-depth here:

viewtopic.php?t=4945&highlight=smile