jquery - back to top
<p>I see this fiddle sample <a href="http://jsfiddle.net/robert/fjXSq/" rel="nofollow">here</a></p>

<p>I want when "to the top" appear, an click! should scroll to the top smoothly or slow </p>

<pre><code>$(window).scroll(function() {
    if ($(this).scrollTop()) {
        $('#toTop').fadeIn();
    } else {
        $('#toTop').fadeOut();
    }
});
</code></pre>
