Solved

scrollTop property

Posted on 2007-03-26
3
1,052 Views
Last Modified: 2007-11-27
I've heard of a scrollTop property in javascript or css that allows you to, in an element wth a set height, set the number of pixels that are scrolled off the top of the element.  How exactly is this property used?  and from where is it accessed?
0
Comment
Question by:josephdaviskcrm
  • 3
3 Comments
 
LVL 18

Accepted Solution

by:
Eternal_Student earned 125 total points
ID: 18795621
This is part of the DOM (document object model) for IE ONLY:

http://developer.mozilla.org/en/docs/DOM:element.scrollTop

That should explain everything you need to know about it but I do warn that it is not standards compliant.

0
 
LVL 18

Expert Comment

by:Eternal_Student
ID: 18795623
This is part of the DOM (document object model) for IE ONLY:

http://developer.mozilla.org/en/docs/DOM:element.scrollTop

That should explain everything you need to know about it but I do warn that it is not standards compliant.

0
 
LVL 18

Expert Comment

by:Eternal_Student
ID: 18795624
Sorry for posting twice ;-(
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question