DojoXScroll

Category: Widgets
Subcategory: Buttons

Overview

Add a simple scroll to top button to your Mendix page. This widget extends the dojo libraries Mendix uses by adding dojox specific libraries. In this way it is not needed to add any jQuery for instance.

Documentation

Demo url

Description

Add a simple scroll to top button to your Mendix page. This widget extends the dojo libraries Mendix uses by adding dojox specific libraries. In this way it is not needed to add any jQuery for instance.

Typical usage scenario

When pages have become too large involving quite some scrolling

Features and limitations

  • Add a scroll to top button;
  • Adjust timing / smoothness of scrolling;
  • Style button;
  • Add scrolling functionality to other buttons via CSS class

Installation

Drag the widget into your page and place it preferably below the page content in the Modeler to ensure it is loaded later than the actual content.

Configuration

The most important part is choosing the correct CSS class to target to scroll to. This can depend on the application. Find the correct class to target by chosing Inspect Element in your browser. If no such element is found the widget will give an alert.

 

 

Releases

Version: 1.1.0
Framework Version: 8.12.3
Release Notes: - Upgraded to Mendix 8 - Added 'Class Nth Child' setting to more easily handle picking the nth child of the element class array you want to target for scrolling into.
Version: 1.0.0
Framework Version: 7.11.0
Release Notes: Add a simple scroll to top button to your Mendix page. This widget extends the dojo libraries Mendix uses by adding dojox specific libraries. In this way it is not needed to add any jQuery reliability for instance.