I am making an iframe facebook application. When I had it running as a normal website this:
$('html,body').animate({scrollTop: $("#"+id).offset().top},'slow');
worked fine.
Now it is inside the facebook iframe and the iframe is resized to fit its contents. As a result there is no longer a scroll bar on the iframe and to navigate you use the parent windows scroll bar. I imagine this is what is causing the problem.
Is it possible to achieve the same effect even though it is inside an iframe?