Sorry for the confusing title. I have an iframe which contains an image at the top, and at the bottom there is a registration form. Unfortunately, the image takes up the top half of the iframe, so I want to be able to automatically scroll down to the registration form when the iframe page loads. I know exactly how far down the page needs to scroll, but I am unsure how to do this. Does anyone know if you can do this using javascript? (FYI: I cannot control the html page within the iframe.) Thanks in advance to those who offer to help.
set an html-anchor on the bottom of the iframes html where the reg-form is, then call the iframe src url with that anchor... like http://url.com/your-iframe.html#REGFORM then the iframe is loaded with the viewing positioned at the anchor. read about anchors: http://search.43.gs/html+anchor
Sorry, maybe I forgot to say that I do not control the registration page. I have third parties that provide event registration forms, and most are at the bottom of the page. The pages load in an iframe and I have no control over the div tags in their registration pages. Does anyone have another idea on how to scroll to the bottom of an iframe after the content has loaded? Thanks again for your help.