Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • mediabw Friend
    #1026453

    Back to top button is always displayed?
    Need it running like on uber demo page.

    pavit Moderator
    #1026483

    Hello

    You can disable back to top button editing your JA ACM Module ( Footer Container ) and disabling it

    If you need back to top only on specific pages then you can duplicate module and assign the one with back to top enabled or disabled only on pages where you need it acting on menu assignment tab.

    Regards


    1. Screenshot-at-apr-14-17-32-00
    mediabw Friend
    #1027222

    In your demo, the back to top button appears on scrolling down the page. On our page, the button is always displayed.

    Your solution is a workaround for startpage without scrolling, but we need an solution for alle pages.

    pavit Moderator
    #1027236

    Your solution is a workaround for startpage without scrolling, but we need an solution for alle pages.

    My solution is not a workaround – ja acm footer works in this way and this is the only way to have the back to top button showed, also on uber demo back to top is always active as you can see HERE

    If you want back to top button on all pages then you will need to publish footer module on all pages

    Regards

    mediabw Friend
    #1027424

    Sorry, you are right…
    Its on this page "www.joomlart.com"…
    this back to top button appears on scrolling…

    Thanks for the fast response.
    Any idea, how to implement this function in uber back to top button?

    pavit Moderator
    #1027640

    Any idea, how to implement this function in uber back to top button?

    This will require a dedicated custom work over Javascript that manage button delay time and positioning.

    My suggestion is to hire a javascript developer for this purpose.

    Regards

    mediabw Friend
    #1028417

    Ive got the code, but i dont know where to place. Any tip? Override for footer.php?

    //****
    // Hide #back-top first
    //****
    asjQuery("#back-top").hide();

    //****
    // Fade in #back-top
    //****
    asjQuery(function ()
    {
    asjQuery(window).scroll(function ()
    {
    if (jQuery(this).scrollTop() > 100)
    {
    asjQuery(‘#back-top’).fadeIn();
    }
    else
    {
    asjQuery(‘#back-top’).fadeOut();
    }
    });

    //************************************
    // Scroll body to 0px on click
    //************************************
    asjQuery('#back-top a').click(function ()
    {
        asjQuery('body,html').animate(
        {
            scrollTop: 0
        }, 400);
        return false;
    });

    });`

    pavit Moderator
    #1028663

    Override for footer.php?

    Yes, since the original Javascript is there you can override it with your.

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

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

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