Monday, 26 August 2013

By default, Web page open at bottom of page

By default, Web page open at bottom of page

I add an iframe in web page. When it loads in Firefox 23.0 browser in an
android mobile, by default it open at bottom of the page. I need to open
it at top of the page. I tried with the following code:
<iframe onload="this.contentWindow.scrollTo(0,0)">
But, unable to fix this issue. Please, help me to fix this issue.
Thanks in advance

No comments:

Post a Comment