JQuery Messed Up Page on Load

NancyJ

New Member
Not quite sure how to define this issue. I just started working with jQuery and Javascript and pretty much everything is fine, except for when the page initially loads. I have the page fade in, but it looks like all the CSS isn't being applied until the jQuery loads.I tried this script in my Head tag, but it doesn't work. Help?\[code\]<script type="text/javascript"> $(function(){ $('#box-container').hide(); }); $(window).load(function() { $("#box-container").show(); });</script>\[/code\]Whoops: site: http://www.elijahish.com
 
Back
Top