Hi, Iâ€™m looking for help with a script that will allow RealTime Live Preview of smileys in a comment form.
These are the scripts Iâ€™m using (which work great and want to stick too):
The â€˜Live Previewâ€™ script from scriptygoddess. Written for MT, but works just as well for WP.
The â€˜WP Grinsâ€™ clickable smilies hack hack from Alex King.
Hereâ€™s the problem:
Both of the above scripts work great. However the live preview textdisplay does not turn the smiley code into a actual smiley. Makes sense, since thereâ€™s no function defined to do this yet.
Here is a possible solution I found from a MT forum, but should work with WP:
I know the answer is in here somewhere. This person talks about a MTMacro, which could work, but I donâ€™t run MT, I run WP. So maybe there is a macro for WP that could rewrite the smiley code to a IMG reference, but I donâ€™t know? Or maybe just a different approach?
Any help would greatly be appreciated.
The site where I want to implement this: http://www.oomsonline.com feel free to comment to test the problem!