Need iframe refresh to go back to top

Discussion in 'HTML & Website Design' started by crb187, Jul 10, 2011.

  1. #1
    I have an iframe with a .php page within it. The trouble is, when the php script links to another html page that comes up in the same iframe, the page doesn't go to the top, the iframe just stays static.

    However, seen as the next page is a continuation on a form, i really need the customer to start from the top again in the next stage. the original php form in the iframe is very long, so drags the page it is within down to the bottom.

    Is there anyway of getting the page to go to the top when the iframe within it loads another page?

    This sounds very confusing, but I am struggling to find a good way to voice it.
     
    crb187, Jul 10, 2011 IP
  2. crb187

    crb187 Active Member

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #2
    sorry, just to say. One other way to fix this would be if i could link to an html page from the php in the iframe that would be loaded externally from the iframe? How could I do this?

    The php form ends with a submit button.
     
    crb187, Jul 10, 2011 IP