Article Jump


Article Jump Configuration Page
Article Jump Hotkey Guide

Article Jump

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.

Requirements

This module requires the libraries module and mousetrap.js, a javascript library.

Installation

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/
https://raw.github.com/ccampbell/mousetrap/master/mousetrap.min.js
4. Download and enable Article Jump.

Configuration

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.

Demonstration

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 "?".

Features

  • 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.

Requirements

Browser Compatibility

The functionality has been tested and works in latest versions of Chrome, Firefox, and Opera, and IE 8 and above.


Article Jump项目的Drush安装命令:复制到剪贴板

注:个别模块仍需开启相关子模块。
周安装量: 
3
维护状态: 
积极维护中
开发状态: 
积极开发中

推荐版本下载:

版本下载地址发布日期发布说明翻译下载
7.x-1.0tar.gz (10.32 KB) | zip (12.09 KB)2012年8月6日发布说明简 | 繁 | 更多

开发版本下载:

版本下载地址发布日期发布说明翻译下载
7.x-1.x-devtar.gz (10.33 KB) | zip (12.09 KB)2013年9月30日发布说明简 | 繁 | 更多