You can animate the scrolltop of the page with jQuery.
$('html, body').animate({ scrollTop: $(".middle").offset().top }, 2000);
See this site: http://papermashup.com/jquery-page-scrolling/
Related Posts:
- Jquery .on(‘scroll’) not firing the event while scrolling
- jQuery Scroll to bottom of page/iframe
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- Disable button in jQuery
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- How do you select a particular option in a SELECT element in jQuery?
- My javascript is returning this error: $.ajax is not a function
- Wildcards in jQuery selectors
- jQuery: How can I create a simple overlay?
- Invalid or unexpected token on a very simple function
- Rotate image with javascript
- What does “async: false” do in jQuery.ajax()?
- jQuery Toggle Text?
- How to make a simple image upload using Javascript/HTML
- jQuery – replace all instances of a character in a string [duplicate]
- jQuery how to find an element based on a data-attribute value?
- Display XML content in HTML page
- jQuery: outer html()
- How to change the text of a button in jQuery?
- jQuery posting JSON
- jQueryUI dialog width
- jQuery Form Validation before Ajax submit
- Javascript – ERR_CONTENT_LENGTH_MISMATCH
- How to use date picker in Angular 2?
- Resource interpreted as Document but transferred with MIME type application/json warning in Chrome Developer Tools
- Animate element transform rotate
- Is jQuery included in WordPress by default?
- Creating Multiple wp_localize_script for Shortcode?
- Basic WordPress AJAX Call
- wp_enqueue_script won’t load in header?
- Hide pages from google and visitors
- jQuery Hoverintent plugin in TwentyEleven Menu [closed]
- How wp_enqueue_script works?
- Script won’t execute in the media manager
- Basic ajax call in WordPress
- jQuery Validate wp_editor
- How do I setup nested repeatable option fields?
- What are best practices for including jquery plugins
- wp_enqueue_scripts hook is not being called
- wp_ajax unauthenticated and authenticated
- How to enable the content editor as a droppable target with jQuery-ui?
- Enqueue Google CDN jQuery in Footer
- ‘jQuery is not defined Error’ appearing in load-scripts.php
- Firebug : Problem with jQuery in WordPress admin panel
- JSON output returns page source code [closed]
- Display data on same page as form without refresh
- Override theme style with other CSS on a specific page
- Ajaxify calendar
- Problem with tables (huge data) on Word-press site
- Gravity Forms – jQuery in List Field [closed]
- start.js:45TypeError: Not enough arguments on Safari [closed]
- Dropdown filtering extremely slow
- Fall Back Google CDN in JavaScript
- wp_enqueue doesn’t work
- filterable portfolio with wordpress and jquery
- Trouble enqueueing jquery with custom theme
- WP-admin redirects to login after adding SSL certificate
- Dynamicaly update field created with wp_editor()
- I have an old version of jQuery showing up. How do I figure out where it is coming from?
- add custom HTML css with js doesn’t work
- How to change background image from WordPress Gallery
- Search input area autogrow – how?
- Populating shortcode values dynamically in theme template
- WordPress Rotating Background Images
- Change quantity via jQuery and disabile quantity field [closed]
- Trying to Load jQuery
- Get value of selected option in select field in a WordPress form
- Jquery contact form to send mail to admin [closed]
- jQuery – Toggle megamenu submenu items by click
- General Settings: display custom plugin field after Site Address field
- WordPress Insert not working with ajax
- WP AJAX API with JS file
- need to override function in jquery.ui.datepicker.js
- Can user meta be shown or hidden depending on user logged in status?
- Screen Options JavaScript Code
- Is there some jQuery conflict here?
- Theme has superfish – how to add supersubs?
- How to modify iFrame content in an admin thickbox
- Storing current page WP list table HTML data into a PHP variable
- jQuery .html rendering [closed]
- bundled jquery in theme js not working with wp_localize_script
- jQuery not working for media uploader
- How to toggle custom WP archive list
- I can’t enqueue Suggest.js in frontend – not added
- Jquery code won’t run loaded from WP, but run from console
- how to remove/exclude html coding from json file while export?
- WordPress and Raty.js
- JQuery is not defined but jquery script is loaded in source [closed]
- search in jquery mobile returns blank page
- owl carousel not working after ajax load [duplicate]
- jQuery post method in admin menu
- Uncaught TypeError: undefined is not a function (shortcode-box)
- jquery not working correctly in plugin options page?
- jQuery AJAX add json2 dependency?
- Group posts by weekly or monthly
- How to read the contents of single post through RSS feed
- jQuery Ajax / Modal admin event not firing since 3.6. Seems to not recognize “a” tag
- WordPress video end function [duplicate]
- jQuery cycle thumbnails?
- Sliders with buttons [closed]