About this module
Article Jump adds jQuery functionality to a page to allow the user to scroll from one article to the next via a hotkey. For instance you can scroll down through a stream of node teasers by pressing "j" several times. Then scroll back to the previous article by pressing "k".
The jQuery selector is configurable, so if you have a stream of feed items, you can add a selector of ".content .feed-items" on the module configuration page and users will be able to navigate that stream by pressing "j" and "k" as well.
The hotkeys are also configurable. So, if you prefer "n" and "p", than you can change them on the configuration page.
1. Create a libraries directory at: sites/all/libraries/
2. Download and enable https://www.drupalproject.org/project/libraries
3. Download mousetrap.min.js into sites/all/library/moustrap/
4. Download and enable Article Jump.
On the module's configuration page you can configure the jQuery selectors that will be used as the article jumping anchors and also the speed of the scroll. You can also configure the hotkeys.
You can see a demo of how the module works by visiting this Demo Site and pressing "j" and "k" to scroll through the stream of articles. Also, to see the hotkey guide, press "?".
- Allows site users to scroll to the next/previous articles, feed items, or node teasers with a hotkey.
- Allows site administrators to adjust the jQuery selectors that create the scrolling endpoints on the module configuration page.
- Allows site administrators to adjust the scrolling speed on the module configuration page.
The functionality has been tested and works in latest versions of Chrome, Firefox, and Opera, and IE 8 and above.
|7.x-1.0||tar.gz (10.32 KB) | zip (12.09 KB)||2012年8月6日||发布说明||简 | 繁 | 更多|
|7.x-1.x-dev||tar.gz (10.33 KB) | zip (12.09 KB)||2013年9月30日||发布说明||简 | 繁 | 更多|