469,572 Members | 1,281 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,572 developers. It's quick & easy.

iframe display specific vertical position of the content

123 100+
is there anyway can use a iframe, and when the page load,

the iframe content auto scroll to specific vertical location(such as the center of the whole page) of the
Oct 22 '10 #1
1 2089
5,390 Expert Mod 4TB
you might use the window.scrollTo() method ... the more tricky thing would be to identify the 'center' position of the content document ... are there DOM nodes that you might use to identify a position in the document?
Oct 30 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Gert Brinkmann | last post: by
1 post views Thread by HockeyFan | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.