Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

smooth scroll button by element id

$('#myButton').click(function() {
   $.scrollTo($('#myDiv'), 1000);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #smooth #scroll #button #element #id
ADD COMMENT
Topic
Name
2+1 =