Support » Plugin: Ajaxify WordPress Site(AWS) » Scroll to top of page

  • LSB Web Design

    (@danceyrselfclean_admin)


    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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • LSB Web Design

    (@danceyrselfclean_admin)

    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.

    Plugin Author manishkrag

    (@manishkrag)

    #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

    LSB Web Design

    (@danceyrselfclean_admin)

    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.

    Plugin Author manishkrag

    (@manishkrag)

    to check those thing I have to spend time.

    LSB Web Design

    (@danceyrselfclean_admin)

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Scroll to top of page’ is closed to new replies.