467,114 Members | 1,263 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

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

autoscroll iframe

I have an iFrame in a PHP file.

Expand|Select|Wrap|Line Numbers
  1. ';
  2. echo '
  3. <iframe src="http://fileho.com/" valign="middle" frameborder="1" scrolling="auto" height="60" width="930"></iframe>
I want this iframe to scroll to a certain position as soon as its loaded, can I do this?
Jan 15 '08 #1
  • viewed: 2510
Share:
2 Replies
ak1dnar
Expert 1GB
It's better to handle this at HTML forum, So I'll move it there from php forum.
Jan 15 '08 #2
If you can find an id or location within that page to link to, you can load to that direct spot on the page
eg
http://fileho.com/#smc
will show the footer rather than the top of the page.

You will need to look in the source of the page for anchors with names, or elements with IDs to link to EG
[HTML]<a name="something">
<div id="somethingelse">[/HTML]
Jan 15 '08 #3

Post your reply

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

Similar topics

reply views Thread by Alexander Brown | last post: by
reply views Thread by Yasin Gedik | last post: by
reply views Thread by 23s | last post: by
5 posts views Thread by Frank | last post: by
reply views Thread by Jeff | last post: by
1 post views Thread by =?Utf-8?B?R3VzIENodWNo?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.