Category Archives: jQuery

Sandbox jQuery

First try to sandbox $ (jQuery) to a specific element: HTML: <div id = "test"> <h2>TEST</h2> </div> <h2>TEST 2</h2> Javascript: function Module() { } function Sub () { console.log($(‘h2′)); }; Sub.prototype = new Module(); Sub(); console.log($(‘h2′)); function $() { var … Continue reading

Posted in Javascript, jQuery | Leave a comment

Creating a jQuery plugin to wrap text around images

Do you want to wrap text around the edges of an image, not constrained to the square shape? This tutorial show how it is done. Example | Download plugin A “long” time ago, Eric Meyer introduced the concept of ragged … Continue reading

Posted in jQuery | 2 Comments