SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Threaded View

  1. #1
    SitePoint Zealot
    Join Date
    Jan 2007
    1 Post(s)
    0 Thread(s)

    This Iframe Problem is Driving me Crazy...

    Hi, this iframe problem is driving me crazy, but I don't know IF there is a solution to this problem.

    Here are the facts...

    I am loading a form that has multiple pages inside an iframe.
    I don't have control over the page inside the iframe tag, I only control the iframe page itself.
    The iframe has a fixed height because I don't want the iframe itself to show a scrollbar, only the browser should show a scrollbar.

    Now here's the problem...

    When I scroll down a form page and press submit, the next page loads but the scrollbar remains in the "down scrolled" position.
    This results is that the user is already halfway down the form when arriving on the next page.

    I created an example here that illustrates the problem:

    The solution I'm looking for is...

    I want the browser scrollbar to jump to the top everytime a new page is loaded in the iframe (I can't use a frameset because I need to be able to float graphics on top of the form page).

    If you can come up with a workable solution for this I'd be very grateful. I need to get this done fast, and hope it's possible.

    If you have any questions feel free to ask.
    Last edited by jeanpaul1979; Jan 3, 2009 at 13:24.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts