smiley in scroll box
-
hi all, i want to add the smilies in the table with scroll box, how can this?
function form_smilies(){ $button = ' <a title="'.__("Welcome", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :welcome ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/welcome.gif" class="smile"/></a> <a title="'.__("Smile", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :) ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/smile.gif" class="smile"/></a> <a title="'.__("Big Grin", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :D ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/biggrin.gif" class="smile"/></a> <a title="'.__("Hihi", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :hihi ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/hihi.gif" class="smile"/></a> <a title="'.__("Haha", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :haha ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/haha.gif" class="smile"/></a> <a title="'.__("Clapping", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :clapping ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/clapping.gif" class="smile"/></a> <a title="'.__("Applause", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :applause ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/applause.gif" class="smile"/></a> <a title="'.__("Sad", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :( ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/sad.gif" class="smile"/></a> <a title="'.__("Cried", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" cried ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/cried.gif" class="smile"/></a> <a title="'.__("Neutral", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :| ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/neutral.gif" class="smile"/></a> <a title="'.__("Blush", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :blush ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/blush.gif" class="smile"/></a> <a title="'.__("Razz", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :P ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/razz.gif" class="smile"/></a> <a title="'.__("Mad", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :x ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/mad.gif" class="smile"/></a> <a title="'.__("Confused", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :? ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/confused.gif" class="smile"/></a> <a title="'.__("Hmm", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :hmm ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/hmm.gif" class="smile"/></a> <a title="'.__("Uncertain", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :uncertain ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/boo.gif" class="smile"/></a> <a title="'.__("Down", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :down ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/down.gif" class="smile"/></a> <a title="'.__("Ablush", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :ablush ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/eek.gif" class="smile"/></a> <a title="'.__("Wink", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" ;) ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/wink.gif" class="smile"/></a> <a title="'.__("Surprised", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" 8O ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/surprised.gif" class="smile"/></a> <a title="'.__("Disaster", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :disaster ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/vai.gif" class="smile"/></a> <a title="'.__("Sucker", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :noo ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/noo.gif" class="smile"/></a> <a title="'.__("Cool", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" 8-) ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/cool.gif" class="smile"/></a> <a title="'.__("What", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :what ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/what.gif" class="smile"/></a> <a title="'.__("Luck", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" =L-> ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/luck.gif" class="smile"/></a> <a title="'.__("Hat", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :hat ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/hat.gif" class="smile"/></a> <a title="'.__("Coffee", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :coffee ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/coffee.gif" class="smile"/></a> <a title="'.__("Good Luck", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :goodluck ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/goodluck.gif" class="smile"/></a> <a title="'.__("Happy Birthey", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :happybirthey ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/happybirthey.gif" class="smile"/></a> <a title="'.__("Dance", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :dance ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/dance.gif" class="smile"/></a> <a title="'.__("Prosperity", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :prosperity ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/prosperity.gif" class="smile"/></a> <a title="'.__("Friend", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :friend ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/friends.gif" class="smile"/></a> <a title="'.__("Gangnam Style", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(" :gangnam ", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/icon_gangnam_style.gif" class="smile"/></a> <a title="'.__("Rules", "mingleforum").'" href="javascript:void(0);" onclick=\'surroundText(":rules", "", document.forms.addform.message); return false;\'><img src="'.$this->skin_url.'/images/smilies/rules.gif" class="smile"/></a>'; return $button; } function footer(){
- The topic ‘smiley in scroll box’ is closed to new replies.