Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery.jQueryRandom = 0;
- jQuery.extend(jQuery.expr[":"], {
- random: function(a, i, m, r) {
- if (i == 0) {
- jQuery.jQueryRandom = Math.floor(Math.random() * r.length);
- };
- return i == jQuery.jQueryRandom;
- }
- });
Add Comment
Please, Sign In to add comment