Emoticons Plugin
Description
This Behavior implements the css-emoticons
plugin:
http://os.alfajango.com/css-emoticons/
Since
wicket-jquery-ui-6.8.0Sources
package com.googlecode.wicket.jquery.ui.samples.jqueryui.plugins; import com.googlecode.wicket.jquery.ui.plugins.emoticons.EmoticonsBehavior; import com.googlecode.wicket.jquery.ui.samples.JQuerySamplePage; public class EmoticonsPage extends JQuerySamplePage { private static final long serialVersionUID = 1L; public EmoticonsPage() { this.add(new EmoticonsBehavior("#comments")); } }
<!DOCTYPE html> <html xmlns:wicket="http://wicket.apache.org"> <head> <wicket:head> <title>Wicket jQuery UI: plugin / emoticons</title> </wicket:head> </head> <body> <wicket:extend> <div id="demo-panel"> <div id="comments"> <h1>This is a text with an emoticon :)</h1> <h3 style="font-weight: normal;">This is another text with another emoticon ^_^</h3> </div> </div> </wicket:extend> </body> </html>
This is a text with an emoticon :)
This is another text with another emoticon ^_^