0

If yes, could you please show me an example of how to do it?

Doomer
  • 1
  • 2
    possible duplicate of [Scrolling an iframe with javascript?](http://stackoverflow.com/questions/1192228/scrolling-an-iframe-with-javascript) – Skilldrick Aug 24 '10 at 11:49
  • See [CMS's answer](http://stackoverflow.com/questions/1192228/scrolling-an-iframe-with-javascript/1229879#1229879) in the duplicate - it's not possible to do this across domains. – Andy E Aug 24 '10 at 11:51

2 Answers2

3

No. But you can put a large iframe in a small parent div that has CSS overflow, and then write to the div's scrollTop/scrollLeft.

bobince
  • 528,062
  • 107
  • 651
  • 834
0

No it's not possible. You have no control over an iframe from another domain for security reasons.

marcgg
  • 65,020
  • 52
  • 178
  • 231