The code for the page in your post says to scroll the window to 500x500. But, the only thing on the page is an iframe of the dimensions 250x150. If the window did scroll to 500x500, there would be nothing there. You seem to want to scroll the iframe. If it is on another domain, that gets tricky. If it is on your domain, just put the body onload event on the page in the iframe.
I think it is on another domain. If so, you need another page.
Top page:
HTML Code:
<html>
<body>
<iframe src="somepage.htm" width="250" height="150"></iframe>
</body>
</html>
somepage.htm:
HTML Code:
<html>
<body onload="window.scrollTo(500,500)">
<iframe src="http://somewebpage.com" width="100%" height="30000" frameborder="0" scrolling="no"></iframe>
</body>
</html>
Bookmarks