code your own facebook ‘be the first to like’ with mootools
I never like having iframes in production sites source codes so when management decided to add the ‘facebook like’ widget thing, I decided to move it outside of the source and into a javascript abstraction. Easiest and most convenient way to do so is via extending the Element prototype in mootools (via Element.implement()): Element.implement({ facebookLike: function(url, options) { var options… Read more →
Recent Comments