Auto scroll down iframe

Posted by tree-hacker on Stack Overflow See other posts from Stack Overflow or by tree-hacker
Published on 2010-04-25T21:37:43Z Indexed on 2010/04/25 21:43 UTC
Read the original article Hit count: 230

How can I get an iframe such that when it loads up, it loads up with the page inside scrolled down by a fixed amount (say 100px)?

I have so far:

<iframe src="http://news.bbc.co.uk/1/hi/uk/7459669.stm" scrolling="no" width=500px height=500px></iframe>

but it loads up with the bbc.co.uk page inside at the top left when I actually want it to load up scrolled part way down (that is the page inside the iframe scrolled down, not the page containing the iframe).

Anyone know how to do this?

© Stack Overflow or respective owner

Related posts about php

Related posts about iframe