module | onscroll - global disable | ignore
Each module | onscroll function has a new global disable | ignore option
This option allows to execute the onscroll function regardless the global disable onscroll setting
In some situations we may want to make the assessment to ignore a choppy animation in favor of our design
Whatever the reason each onscroll function can execute if we need it to, overriding the onscroll global disable property
3 MODES
The option to ignore runs in 3 modes
true = the onscroll function executes regardless the onscroll global disable property
false = the onscroll function abides the onscroll global disable property
-1 = the onscroll function abides the onscroll global disable property and removes the object(s)
this option is specifically useful if module | onscroll is used in the ANIMATOR mode
in the ANIMATOR mode the object is repositioned in a new fixed position
if module | onscroll is disabled the object will appear in it's static position
with this option we can choose to remove the object if required
see module | onscroll - global disable | ignore - property
SIDE-INFO 1:
Q: Why does scroll animation not work the same on touch devices ?
A: Most touch devices do not allow DOM manipulation while the page scrolls
Animation during a page scroll is therefore halted until the page scroll ends, resulting in chopped animation
SIDE-INFO 2:
At present there is no reliable method in detecting touch devices period!
This option does what it says but can never be 100% bullet proof
Be sure to test what your target is and if it is achieved by using an option
jor_aniMateMASTERPACKv3.0 is a - tool - first - and - foremost
How it is used can affect the outcome, always test if the outcome is the desired result ... !
EXPLAIN ?
easy tools | onscroll global disable
With the easy tools | onscroll global disable property we can disable all module | onscroll functions global
Disabling can be done in 2 modes - 01. touch disable and 02. simulate
MODE: TOUCH DISABLE
This mode is specific used to disable onscroll events for touch devices only
Onscroll events can function smooth for desktop applications but most of the time will function jerky, choppy on touch devices
By setting this property to touch disable the onscroll events will be disabled for touch devices only
The onscroll events will execute on non-touch devices
MODE: SIMULATE
This mode is very useful to simulate the behavior of our design when onscroll is disabled for touch devices
We can test the behavior of the design local on our desktop computer
This mode disables module | onscroll events for all devices
GLOBAL - YOU MEAN LOCAL ?
Yes, note that global is used as in scope to the used JMPv3.0 Template
The onscroll functions for that JMPv3.0 instance are disabled, not for the entire page
If multiple JMPv3.0 instances are used on a page we enable or disable the option for each instance
EASY TOOLS - ONSCROLL GLOBAL DISABLE
OVERRIDING THE GLOBAL DISABLE
At times we may want an onscroll function to execute regardless a touch device
We may find we can get away with a few choppy animations
In these cases we can use the new global disable | ignore property that each onscroll function has from JMPv3.0 b5.4 on
__________________________________________________________________________
more info on module | onscroll see here Properties
more info on module | onscroll see here Overview Enter
more info on module | onscroll see here Overview Animator
Onscroll Global Disable
ETOOL
b5.4