Created
September 16, 2013 20:37
-
-
Save flyingoctopus/6586270 to your computer and use it in GitHub Desktop.
loop ALL THE THINGS! \o/
This file contains hidden or 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
// make sure this executes at the end of your page | |
// and note that this is the recommended way because you dont want to clog the thread | |
// (all browsers are single threaded, except for chrome where each tab is a single process) and you'll have a frozen webpage. | |
<script type="text/javascript" charset="utf-8"> | |
$(document).ready(function() | |
{ | |
setInterval(function(){ | |
$('#additionalthumb1 a').Chocolat(); | |
},1000); // set a value for this in milliseconds. | |
}); | |
</script> |
Author
flyingoctopus
commented
Sep 16, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment