KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I see this fiddle sample here I want when "to the top" appear, an click! should scroll to the top smoothly or slow $(window).scroll(function() { if ($(this).scrollTop()) { $('#toTop').fadeIn(); } else { $('#toTop').fadeOut(); } });
Tags (comma-separated)
Save Edits
Cancel