iframe gotop on changing page
Posted on 2012-08-28
I'm running an application in frame. When I'm clicking on any link to change page, the page changes but instead to go to top of the page, I'm going to the section that the parent page was. For example: if the link that I clicked was on the bottom of the page, the new page loads in the bottom posiotion. If the link was in the middle of the page, the new page opens in the middle.
I tried many solutions that I found on the net, using body onload etc, or even placing an <a href="top"> in the parent page, but nothing works.