Skip to content

Instantly share code, notes, and snippets.

@flyingoctopus
Created September 16, 2013 20:37
Show Gist options
  • Save flyingoctopus/6586270 to your computer and use it in GitHub Desktop.
Save flyingoctopus/6586270 to your computer and use it in GitHub Desktop.
loop ALL THE THINGS! \o/
// 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>
@flyingoctopus
Copy link
Author

hackety hack hack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment