On 9/18/07, Joel Birch <[EMAIL PROTECTED]> wrote: > $(document).ready(function(){ > $('#nav').css({position:fixed,top:-200px}); > }); > > $(window).load(function(){ > $('#nav').animate({top:20px},'slow'); > });
Corrections: $(document).ready(function(){ $('#nav').css({position:'fixed',top:'-200px'}); //added quotes }); $(window).load(function(){ $('#nav').animate({top:20},'slow'); //removed px units for animate }); Completely untested by the way.