Jump to content

Certain spot in iFrame


cclloyd9785

Recommended Posts

  • 2 weeks later...

If the page of the iframe is part of the same domain, you can use the scrollTo() method:

var f = document.getElementById("myframe"); if(f.contentWindow) f = f.contentWindow;f.scrollTo(0,400)

If it's not in the same domain, there's nothing you can do.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...