DojoXScroll

Content Type: Widget
Categories: User Interface

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

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.2.0
Framework Version: 9.24.7
Release Notes: * Fix for slow page, moving retrieval of region inside the click event of the button. * Tested in Mendix 9.24.7
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.