Last active
December 14, 2015 13:19
-
-
Save iwek/5092555 to your computer and use it in GitHub Desktop.
Show the sorted images on Pinterest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//empty main section | |
$(".Grid").before('<div id="organized"/>').remove(); | |
//append sorted items | |
$.each(list, function(idx, itm) { | |
$("#organized").append($(itm).parents('.Pin')); | |
}); | |
//style it up | |
$('.Pin').css({'clear': 'both', 'position': 'static'}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment