I can’t seem to find exactly what I want. Google keeps saying “position” (like CSS top and left), but what I want is to click a button and scroll a frame.
The point? So that I don’t have to use scrollbars on frames–they can be ugly depending on what system you’re using.
If your
iframeis navigating in your domain then this code may help:Otherwise, you will get an error saying something like “Unsafe JavaScript attempt to access frame… Domains, protocols and ports must match“.