WordPress.org

Ready to get started?Download WordPress

Forums

Ajaxify WordPress Site(AWS)
Scroll to top of page (6 posts)

  1. DanceYrselfClean_Admin
    Member
    Posted 1 year ago #

    Hi I'm using the latest version of AWS on my site and wondered how I could stop it scrolling to the top of the ajax container, and instead make it scroll to the top of the page.

    I would also like to make the loading effect display on top of the current content loaded instead of it fading out then back it.

    I hope this all makes sense.

    Any assitance would be appreciated.

    ww.priceofmilk.co.uk

    http://wordpress.org/extend/plugins/ajaxify-wordpress-site/

  2. DanceYrselfClean_Admin
    Member
    Posted 1 year ago #

    Alternatively is it also possible to have it not scroll at all. So the page stays in the same position when you load the next page.

  3. manishkrag
    Member
    Plugin Author

    Posted 1 year ago #

    #1: forloader
    From backend AWS form select the loader image, then loader image will code during page transition.

    #2: Scroll top remove
    jQuery('html, body').animate({scrollTop: jQuery(contentSelector).offset().top}, 1000);

    remove the above code from the ajaxify.js file

  4. DanceYrselfClean_Admin
    Member
    Posted 1 year ago #

    Thanks #2 worked great.

    I understand the reply for #1 but I think you misunderstood me a little. What I'm asking is whether i can remove the fading transition, I would like the loader image to display but for it to display over the current content until the next page is loaded. So instead of the page completely fading out then the next page fading in, I would like the current page to remain until the next page loads.

  5. manishkrag
    Member
    Plugin Author

    Posted 1 year ago #

    to check those thing I have to spend time.

  6. DanceYrselfClean_Admin
    Member
    Posted 1 year ago #

    Ok thanks for the help anyway, Ill make do with the current transition effect then.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags