Author Topic: Setting overflow scrollbar location  (Read 2322 times)

hans

  • Guitar Addict
  • Jackass In Charge
  • Posts: 3523
  • Karma: +46/-18
Setting overflow scrollbar location
« on: April 09, 2008, 03:50:00 PM »
I've been searching around trying to figure out how to set the scrollbar location when I'm using an overflow div. I'm working on this calendar thing and I'm trying to get it more like Google where it defaults to a specific start time for the view (like 9am instead of 12am).

I tried a couple of "clip" divs but couldn't figure it out. I've spent half an hour already so I'm ready for smarter people to help me out.
This signature intentionally left blank.

hans

  • Guitar Addict
  • Jackass In Charge
  • Posts: 3523
  • Karma: +46/-18
Re: Setting overflow scrollbar location
« Reply #1 on: April 09, 2008, 04:57:55 PM »
You guys took too long.

document.getElementById("elementId").scrollTop

I finally figured out the right Google query to find what I was looking for sort of. It got me close enough.
This signature intentionally left blank.