[jQuery] jQuery help to replace CSS position: fixed;
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? :/