Safari 6 test page
Safari 6 (Build 8536.25) seems to choke on jQuery .scrolltop()
function.
This demo will perform the following tasks:
- Check the scrollbar position of the body element
- Scroll the body element to 100px
- Check the scrollbar position of the body element
JavaScript alerts will display the results in between each instruction. Basically, the page will scroll down a 100px.
Safari 6 will perform the scroll, but will report an incorrect value after the scroll is performed unless you repeat the call to $scrollElement.scrollTop()
. The second call reports the correct current value.
Run JavaScript .scrollTop
test