472,127 Members | 1,598 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

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 2220
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.