jQuery Isotope queue shuffle/randomize animation
问题 I would like to set the jQuery Isotope shuffle method to to perform an animated shuffle of the loaded DOM elements every 30 seconds that someone is on the page with the plugin loaded. I have had success tying the animation to a .hover() event, but I cannot seem to get it to fire when I use setInterval() or .queue() . I want the animation to fire regardless of user interaction/input. var iso_shuffle = function() { $('#isotope').isotope('shuffle'); } setInterval(iso_shuffle(), 2500); Why does