This will be more clear after leaning objects in JavaScript. superfish_contents() appears to fire twice and create the same inline Javascript each time. Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email. If you need to repeat execution, use the setInterval() method.. My processor is 1.5 GHz and takes 10 or 11 seconds for the Superfish menu. About; Products ... javascript loop every 9 seconds? This could happen for any number of reasons, like there were dozens of threads in the application that each took their turn and our downloading thread didn't get … It's FREE! It doesn’t stop the whole loop.