> However when I change..
>
> $("#overlay").top(window.pageYOffset + 'px');
> to
> $("#overlay").height(window.pageYOffset + 'px');

The jQuery part of the code is correct, however I'm not following your
logic here. What happens if you set the .height() to something like
.height( "500px" ) - does that work as expected?

--John

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to