I just wanted to test how to move on a touchscreen the slider of a scroll bar, but big surprise, there is no scroll bar.
I have defined a DIV with overflow:auto
This means when the content of the DIV is greater than the DIV defined with style width and height, there should be scroll bars added to the DIV.
But at this test page the left menu is larger than the DIV, but no scroll bar is added to the DIV.
When you test it with an Android cell phone, You will have first scroll the screen to the left.
I scroll with
document.body.scrollLeft
to the right, if the screen is smaller than XVGA
this feature works fine in the Andoid browser,
Not only that there is no scroll bar added to the
DIV overflow=auto, this DIV is also not scrollable,
by javascript
Test page where the DIV should be scrolled down
Here my script tries to hold the menu entry from the current page
in the visible area of the DIV by
document.getElementById('dirsub').offsetTop
But the offsetTop does also not work.
Any work around?
Hope for a next browser release?
I have defined a DIV with overflow:auto
This means when the content of the DIV is greater than the DIV defined with style width and height, there should be scroll bars added to the DIV.
But at this test page the left menu is larger than the DIV, but no scroll bar is added to the DIV.
When you test it with an Android cell phone, You will have first scroll the screen to the left.
I scroll with
document.body.scrollLeft
to the right, if the screen is smaller than XVGA
this feature works fine in the Andoid browser,
Not only that there is no scroll bar added to the
DIV overflow=auto, this DIV is also not scrollable,
by javascript
Test page where the DIV should be scrolled down
Here my script tries to hold the menu entry from the current page
in the visible area of the DIV by
document.getElementById('dirsub').offsetTop
But the offsetTop does also not work.
Any work around?
Hope for a next browser release?