View Full Version : your code: offsetHeight property for outer container

11-19-2012, 06:47 PM

offsetHeight property for outer container (and for inner big div) div what values has at t=0s, t=reach end the inner moving, t=2s???

basically for a moving div like
t=0s is what? after 3sec is what?

11-19-2012, 10:33 PM
Please be more specific. There's no 't' in that script. To what are you referring to when you use 't'?

BTW - That's an outmoded script. DD keeps those around though, I'm not sure why. I guess they're still of some value to some people.

11-20-2012, 07:21 AM
t=0s means time=0 seconds passed
t=5s means time=5 seconds passed

this is for my reference , there is not in script.

what is the updated script URL for new browsers?

11-20-2012, 09:24 AM
Oh, the offsetHeight doesn't change. The top style property does, and only for the inner div.

And I didn't say there was an official update. There is this:


Which is not a lot better, but at least it's functional in more browsers and has no gap at the end of the scrolling content.

You can use your browser's 'view source' to get the code.