[jQuery] Re: Creating a sliding onload effect

2007-09-17 Thread Joel Birch
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:'fixe

[jQuery] Re: Creating a sliding onload effect

2007-09-17 Thread Joel Birch
On 9/17/07, Steven Foers <[EMAIL PROTECTED]> wrote: > Hi > > I have a menu made from an unordered list containing 4 menu items that I'd > like to slide down from the top of the page onload. The menu is horizontal > and I want it to stop around 20px from the top of the page. Once the menu > has sli