I have the following code:
jQuery(document).ready(function() { setTimeout($(\'#loading\').fadeIn(\'slow\'), 9999); });
setTimeout accepts a function as first parameter - you are currently passing a jQuery selector, which immediately gets evaluated which executes the fadeIn operation. Instead pass in an anonymous function:
setTimeout
fadeIn
setTimeout(function() { $('#loading').fadeIn('slow'), 9999); }, 9999);