I\'ve got a page with some questions and answers, the answers are collapsed by default. When they click the question I expand the hidden answer-div. The problem is that when
Example with nice scrolling to answer content:
$("#question_title").click(function(){ var $answer=$("#answer"); $answer.slideDown(); $.scrollTo( $answer, 800 ); return false; });
I'm used jQuery scrollTo plugin.