Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: MCP Sentinel 2.33.0 — Minor update available for module mcp_sentinel (2.33.0). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Jumper (Jump Anywhere)

29 sites Security covered Drupal 9–11
View on drupal.org

Jumper adds smooth scrolling functionality to your site, allowing users to jump to specific sections. It can provide a "Jump to Top" block or enable custom links for seamless navigation, optionally using the Jump.js library or native browser scrolling.

Jumper provides an optional integration with Jump.js (a small, modern, dependency-free smooth scrolling library), or fallback to native smooth scroll if the library is not installed.

Be sure to check Out of the block option at block admin if having a complex design and or having trouble with layering/ positioning.

Features

  • Vanilla JS, no jQuery required.
  • A`Jump to Top` or `Jump Anywhere` block which can be placed via block admin.
  • Jump anywhere for extra configurable links (menu items, CTA, etc.) with hashes (#), as seen at a single page website aka SPA.
  • A few basic sensible styling. Use your own CSS to position the block as needed.
  • Supports optional Views Load More auto-loading by scrolling which is related to the Jumper's job.

Features since 1.2

  • FontAwesome or Icon API integration via custom icon class.
  • Option to place jumper out of the block to overcome theme issues such as conflicting fixed positioning, etc.

Requirements

  • Core block.module.
  • Blazy,
    No Blazy lazy load library is needed. However Blazy is required to reduce dups for jQuery replacement methods provided by Blazy separately.

Optional Requirements

  • Jump library, optional since Jumper 1.2:
    /libraries/jump/dist/jump.min.js,
    the RAF polyfill was included at the latest library version.
    If not installed, Jumper will use browsers native smooth scrolling capability.

Note:

  • Compatibility with Ultimenu has been added at Ultimenu 2.4, just be sure to provide non-fixed off-canvas element for Jumper target as noted in the form description.

Installation

Install the module as usual:
Visit admin/modules, and enable the Jumper module.

More info can be found on:
http://drupal.org/documentation/install/modules-themes/modules-7

Usages

  • Visit admin/structure/block
    • Place the provided Jumper block into footer, or any relevant region.
    • Adjust a few settings accordingly, including custom jump links.
  • Visit any menu, e.g.: /admin/structure/menu/manage/main
    • Edit any menu item to make it behave as a jumper
    • Under Link autocomplete field, add a menu item containing a hash sign (#) targeting the HTML element ID for any particular page, e.g.:
      /about#block-cta, or <front>#block-contact

Custom Usages

1. Add a class `jumper` to any link / button element containing attributes [data-target], or [href] with relevant target to scroll to, e.g.:
<a href="#main" class="jumper">Jump</a>

or

<a href="#" data-target="#main" class="jumper">Jump</a>

or

<button data-target="#main" class="jumper">Jump</button>

2. Include the provided block via block admin, or load the `jumper/load` library
as needed accordingly.

3. To position the Jumper block anywhere, use a simple CSS override, e.g.:

  /** Position the Jumper block at the bottom left corner. */
   .jumper.jumper--block {
     left: 15px;
   }

   /** Or center it at the bottom of page. */
   .jumper.jumper--block {
     left: 50%;
     right: auto;
     -ms-transform: translateX(-50%) translateY(100%);
     transform: translateX(-50%) translateY(100%);
   }

  .is-jumper-visible .jumper.jumper--block {
    -ms-transform: translateX(-50%) translateY(0);
    transform: translateX(-50%) translateY(0);
  }

By default, Jumper block is positioned at the bottom right.

Stylings

The styling is very basic. Use your own icons and CSS to override defaults. Specific to the provided block, it has additional class `jumper--block` with a particular styling for a single jumper block.

Related modules

  • Back to Top
    Differences: Jumper doesn't use jQuery, nor jQuery UI. It uses native smooth scrolling or fallback to Jump.js with requestAnimationFrame, core block for placement, and can be used to jump anywhere with configurable links for smooth scrolling.
  • Lory
    Lory module may need jumper.module for its optional feature: arrowDown, superseded by Splide.

Read more.

Depends on

Dependencies of the latest stable release

  • Blazy >= 3.x
  • block Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
9
Tracked since
Jun 2023
Latest release
3 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
3.0.x-dev Dev 11 Jul 6, 2026
2.0.1 Stable 9–11 Apr 28, 2024
2.0.0 Stable 9–11 Apr 6, 2024
2.0.x-dev Dev 9–11 Sep 20, 2023
8.x-1.4 Stable 8–10 Sep 14, 2023
8.x-1.4-rc2 Pre-release 8–10 Aug 13, 2023
8.x-1.4-rc1 Pre-release Jul 29, 2023
8.x-1.4-beta1 Pre-release Jul 23, 2023
8.x-1.3 Stable Jun 4, 2023