/adapt-goTop

A button to jump to the top of the page

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

An example of the go top extension

adapt-goTop

goTop is an extension for the Adapt framework. It adds a button to the course that when clicked returns the learner to the top of the current page.

Attributes

_isEnabled (boolean): Turns goTop on and off.

_scrollListener (object): Adds a scroll listener that shows or hides goTop only when a certain amount has been scrolled. If off goTop is always visible.

_isEnabled (boolean): If true all the pages within the course are listed in the Contents list. Default - true.

_offset (number): The amount of pixels before goTop is shown.

Limitations

No known limitations.


Version number: 2.0.0 adapt learning logo Framework versions: 2.1
Author / maintainer: Simon Date
Cross-platform coverage: Chrome, Chrome for Android, Firefox (ESR + latest version), Edge 12, IE 11, IE10, IE9, IE8, IE Mobile 11, Safari for iPhone (iOS 8+9), Safari for iPad (iOS 8+9), Safari 8, Opera