views:

29

answers:

1

Hey,

I currently have an iframe for a facebook application and I am using FB.Canvas.setAutoResize(); to resize it properly. The problem is when a user scrolls down and clicks on one of the lower links, it does not a way to bring the user back to the top.

Is there a function or way of bring a user back to the top of the page?

A: 

The href="#id" links don't work in an iframe Facebook app, so the only way really is not to have your app depending on that. Of course, you could put a link to the same page so the user would actually reload the page and would be at the top, but I guess that's not an option. If you do manage to find a way to send the user to the top of the page without reloading tough, I would be more than happy to hear it.

Claudiu
Thats one of the reasons why I really dislike Facebook Development. Its a bunch of developers all looking for the same answer on how to solve a problem on a platform that is constantly changing. If a solution comes up I will b sure to let you know.
Devin Dixon
thanks for that man
Claudiu