I use this:
window.scrollTo(0,99999);
var x = (document.all ? document.scrollLeft : window.pageXOffset);
var y = (document.all ? document.scrollTop : window.pageYOffset);
alert("Х = "+Х+" Y = "+Y)
but alert always says X = 0, Y = 0, wherever scrollbar is, what I am do wrong and what I must do for find good coordinates?


Sign In
Create Account


Back to top









