post-page

Clickable smilies in post page for WordPress hack

3
responses
by
 
on
November 30th, 2003
in
WordPress Hack

I had written this hack a long time ago, but considering the renewed interest, I wanted to make sure it was recorded. It make a small row of clickable smilies show up on top of box where you edit your post. Click on the smilie and it gets translated and put in the right place, no more guessing! Here is the link to the hack.
*Edit* The hack has been fixed for use on comments which show up on the main page (without the use of 12_comments popup)

heading
3
Responses

 

Comments

  1. alex says:

    The selection.createRange() code that inserts at the cursor position only works in IE. You should steal the insertion code from the wp-quicklinks.js to make it cross-browser compatible.

  2. Mark (36 comments.) says:

    One language I dont care for (and truly, dont really understand) is Javascript and it gives me lots of headaches! :-) I will look into doing some stealing. There has been some problem with the document.form item as well which I should look into. Thanks Alex!

  3. alex says:

    JavaScript is truly a pain in the arse – the JS Console in Mozilla helps a lot though.



Obviously Powered by WordPress. © 2003-2013

page counter
css.php