Reputation: 1152
I have tried calling parent.scroll & parent.window.scroll to scroll the browser window from a child frame. However,
Localhost testing: Works in IE, Firefox, & Chrome. Production/Non-localhost: Works only in Chrome.
Can you guys tell me why this might be the case?
Upvotes: 0
Views: 251
Reputation: 38
I think you might just want to use window.scroll(X, Y), or maybe window.scrollBy(X, Y). In both cases omitting "parent"
If I am right and you are trying to scroll to specific other section the using scrollBy, or scrollTo, could be a good way to go.
Upvotes: 1