Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

JSmile - smiles everywhere in few bytes


In a totally unobtrusive way for both (x)html and javascript events/functionality, this plug-in allows you to add, and remove, smiles in an entire document or only in some specified element.

Basic examples

$(function(){
    $(document.body).smile();
});

You can specify only one or more elements too.

$("div.post, p.comments").smile();

And remove them whenever you want.

$("div.post, p.comments").smile(false);

The optional argument is true by default and the method return the instance itself.

$(document.body).smile().find("a").click(/*doStuff*/);

Downloads

Version Downloads Date Links
0.4.0-stand alone version Notes
0.3 Notes


4.5
Your rating: None Average: 4.5 (2 votes)