test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Mo0nlight Moderator
    #1012978

    Hi
    This needs some custom work in the files .

    Open the file : modules/mod_jak2filter/assets/js/jak2filter.js

    Look for :

    jQuery('html, body').animate({scrollTop: container.offset().top}, 1000);

    You can remove the animation or change to what you want.

    Hope it helps.

    Regards

    diochi1144 Friend
    #1013039

    Thank you. How do I change this code to scroll across my ID "#thisistop"?

    I solved it myself. Just modify your code to:

        var roluj = jQuery('#semroluj');
       jQuery('html, body').animate({scrollTop: roluj.offset().top}, 1000);
Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  diochi1144 7 years, 9 months ago.

The topic ‘scrolling’ is closed to new replies.