window.scroll and window.scrollTo (its alias) don't seem to work on an <iframe> embedded in the Android 4.0.4 internet browser. Nor do any of the other functions (it seems) like window.scrollBy, etc. How can I work around this limitation and force the <iframe> to scroll to a specific position on the page?
Some extra information:
- Solution doesn't need to be elegant, it can be a hacky work around. This is test code anyway.
- While the code doesn't need to be clean, it should be at least possible to make it cross-browser friendly
- Device is a Samsung Galaxy Note running Android 4.0.4 native browser
- Frame is in the same domain, so code can be run on it
- Other than the scrolling, I want to leave the page as untouched as possible
- The
<iframe>has finished loading by the time my code runs