[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1060
  • Last Modified:

scrollTop property

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
josephdaviskcrm
Asked:
josephdaviskcrm
  • 3
1 Solution
 
Eternal_StudentCommented:
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
 
Eternal_StudentCommented:
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
 
Eternal_StudentCommented:
Sorry for posting twice ;-(
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now