test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • tehribo Friend
    #1044380

    Hello,

    I am using a plugin called ScriptsDown: https://extensions.joomla.org/extension/scriptsdown/

    After enabling it, the "Back to top" button stopped working.

    The Plugin has an option called "Exclusive list", maybe I should use it somehow?

    Thank you in advance!

    Best regards

    • This topic was modified 7 years, 6 months ago by  tehribo.

    1. back-to-top
    2. scriptsdown-exclusive-list
    Saguaros Moderator
    #1044623

    Hi,

    You can add this script for back to top button into that exclusive field:

    
    (function($) {
        // Back to top
        $('#back-to-top').on('click', function(){
            $("html, body").animate({scrollTop: 0}, 500);
            return false;
        });
        $(window).load(function(){
            // hide button to top if the document height not greater than window height*2;using window load for more accurate calculate.    
            if ((parseInt($(window).height())*2)>(parseInt($(document).height()))) {
                $('#back-to-top').hide();
            } 
        });
    })(jQuery);
    
    tehribo Friend
    #1044659

    Thank you for the answer and your kind support, but this did not fix it.

    Attached you will find the error


    1. Capture-1
    Saguaros Moderator
    #1044674

    Share me the admin login info so I will take a look.

    tehribo Friend
    #1044724

    Thank you!

    I added the admin login details

    Saguaros Moderator
    #1044740

    As you can see that messages indicate issue from this plugin itself, could you try to contact provider of this plugin for help?

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 5 replies, has 2 voices, and was last updated by  Saguaros 7 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum