in Web Developers, 22 mins ago, by Feeds
posted on April 10, 2014 by noreply
Source from James Padolsey. In this post, I just Created a Demo using his code. $.fn.shuffle = function () { var allElems = this.get(), getRandom = function (max) { return Math.floor(Math.random() * max); }, shuffled = $.map(allElems, function () { var random = getRandom(allElems.length), ran…