Search
Winners

Win Prizes

Social Presence
Twitter Twitter LinkedIn YouTube Google

Like us on Facebook
Advertisements
Top Articles Author
Tue, 29-Jul-2014 Authors
All Time Authors
Vishal@Neeraj
28480
Rajkatie
20600
Bharathi Cherukuri
18040

Latest members | More ...


(Statistics delayed by 5 minutes)

How to get the Scroll height and Width in JavaScript !!

 Posted by Puneet20884 on 12/23/2009 | Category: JavaScript Interview questions | Views: 4581

Answer:

Width : window.pageXOffset ||
document.body.scrollLeft ||
document.documentElement.scrollLeft;

Height: window.pageYOffset ||
document.body.scrollTop ||
document.documentElement.scrollTop;


Asked In: Many Interviews | Alert Moderator 

Found interesting? Add this to:



Comments or Responses

Login to post response