Why would you replace position fixed with an inferior solution? Fixed positioning behaves much smoother in comparison to a JS solution that reacts on scroll/resize events.
There are workarounds for IE 6: http://www.howtocreate.co.uk/fixedPosition.html --Klaus On 14 Okt., 11:10, XeroXer <[EMAIL PROTECTED]> wrote: > Hi! > > I am making a menu that I place along the left side of the page. > I starts with the position: absolute; left: 0; top: 50px; > I tried using position: fixed; but that didn't work in IE6. > > What i want is that when a user scrolls down the page the menu > follows. > $(window).scroll(function () { > var thePageTopVar = ???; > $("#menu").css({top: thePageTopVar}); > > }); > > How do I get the windows current position on the page? :/