I'm looking to emulate the smilies 'popup and insert into message textbox' functionality, but can't find where the code for it is. I know there's a bunch of .js files in the clientscript folder, and the code that interests me is in...
newreply.php:
Code:
a href="#" onclick="open_smilie_window(smiliewindow_x, smiliewindow_y, 1, '22'); return false"
misc.php:
Code:
a href="#" onclick="opener.insert_smilie(this, 73); self.focus(); return false;"
In both, the following is included, but I can't find the functions bolded functions in these files, or any of the files for that matter.
Code:
<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>
<script type="text/javascript" src="clientscript/vbulletin_menu.js"></script>
Anyone know where the code is to be found :ninja: