Javascript Reference
Categories: window

javascript window scrollX, scrollY

@March 15, 2008, 1:22 a.m.
scrollX, scrollYFirefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM n/a  

Read-only  

Return the pixel distance the window is scrolled along the horizontal (scrollX) and vertical (scrollY) axes. To determine these values in IE, you must take into account compatibility mode settings in IE 6 (see the DOCTYPE element). In backward compatibility mode and in IE for Macintosh, use the document.body.scrollLeft and document.body.scrollTop properties. In IE 6 standards compatibility mode (where document.compatMode == "CSS1Compat"), use document.body.parentNode.scrollLeft and document.body.parentNode.scrollTop to get the scroll values of the html element.

 
Example
 
var scrolledDown = window.scrollY;
 
Value

Integer.

 
Default

0

Notre cas nécessite plutôt une Team de4 personnages 180+
et équipés, ou 3amis au minimum (+ compagnons comme Masse ou Korbax).
MILF porr online - 10 hours
Use 1XBET promo code: 1XTAX200 for VIP bonus up to €1950 + 150 free spins on casino and 100% up to €130 to bet on sports. Register on the 1xbet platform and get a chance to earn even more Rupees using bonus offers and special bonus code from 1xbet. Make sports bets, virtual sports or play at the casino <a href="https://seoservice157.wordpress.com/2025/03/10/1xbet-promo-code-for-free-bonus-up-to-e130/">1xbet promo code today sri lanka</a>
Jamestwedy - 14 hours
Автоматизация ресторанов: увеличиваем прибыль и сокращаем затраты. Программа для автоматизации кафе и ресторанов под ключ <a href="https://vc.ru/life/1860698-kak-my-otkryvali-kofeinyu-so-slaboumiem-otvagoi-i-sedymi-volosami">программы для ресторанов и кафе</a>
Ronaldunlak - 14 hours

Powered by Linode.