Hi,
If anyone has been following this subject I finally found an answer to the question of how to control where the page up and page down can be modified
Code: |
$( ".modpagecrollbtns.gobottom, .modpagecrollbtns.backtop" ).on( 'mouseup touchend', function( jqEvent ) {
jqEvent.preventDefault();
jqEvent.stopPropagation();
// If a short press is detected, go to end scrolling value for the page
if ( new Date().getTime() <= ( start + longpress ) ) {
// Scroll to top
if($(this).hasClass('backtop')) {
$('html, body').animate({
scrollTop: -1000
}, $animationSpeed);
} else {
// Scroll to end
$('html, body').animate({
scrollTop: 1000
}, $animationSpeed);
}
}
|
The key is the number 1000. Adjust it to adjust the scroll.
Many many thanks to John for his help and putting up with me!!