Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jQuery scroll to id

// replace #myID with your own element's CSS selector
$("html, body").animate({ scrollTop: $("#myID").scrollTop() }, 1000);
Source by www.taniarascia.com #
 
PREVIOUS NEXT
Tagged: #jQuery #scroll #id
ADD COMMENT
Topic
Name
8+9 =