Reference window object containing iFrame
Posted on 2006-04-01
I'm sure I'm missing something simple here.
Lets say I have a page with an iFrame in it, and I want (from the page) to scrolldown to the bottom of the iFrame.
To do this in the page I can just use window.scrollTo(0,9999); for example. Question is, how do I reference the window object
that contains the iFrame so that I can scoll that instead of the parent?
I know how to reference the iFrame with its id, but its the containing window that I want to apply scrollTo() to.
Missing something obvious here?