• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

iframe gotop on changing page

Hello,

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.

Thank you
0
ChrisTERiS
Asked:
ChrisTERiS
  • 3
  • 2
1 Solution
 
Ray PaseurCommented:
I think we need to see this in action.  Please post the URL of the site that demonstrates this phenomenon, thanks.
0
 
ChrisTERiSAuthor Commented:
Here is the link. This issue in one part of my problem. I've opened a seperate issue in case that you want to check it. Try to refresh the page. You'll see that you'll redirect to the main page.
https://www.facebook.com/pages/ChrisTERiS/259051230873584?sk=app_349476115135260

Chris
0
 
Ray PaseurCommented:
I think I see it.  On the front page (linked above) I scroll down some and then click "Religion Discussion."  The resulting page shows a similar scroll location.  I think this is something happening on the browser side of things.  Facebook does some strange things to the DOM; this might just be one of them.

Do you find this behavior in all browsers?
0
 
ChrisTERiSAuthor Commented:
Unfortunatelly yes, with all browsers. But I think that this is a common behavior of iframe, not specific to Facebook. Just the 2-3 solutions that I tried didn't worked. Please note that I tried it outside Facebook (using iframes), I faced the same problem. So definetelly is not a Facebook issue.
0
 
Ray PaseurCommented:
OK, thanks for the update.  I have to go teach a class tonight, and I'll be away for a couple of days after that.  Suggest you delete this question and post a new question.  When you post the new question, include all the information we discussed here - the URL and the way to get a demonstration of the issue.

The reason I am suggesting that you delete the question is that it really is not answered and I won't be able to research it in a timely manner.  Many of the Experts will not engage in a question when there is already a long comment thread, so your chances of getting a good answer will be stronger with a new question.

All the best,
~Ray
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now