WordPress.org

Ready to get started?Download WordPress

Forums

Advanced AJAX Page Loader
[resolved] Save div dimensions and disable scroll to top (5 posts)

  1. TechTalk
    Member
    Posted 2 years ago #

    Is there a way you could make it so the soon to be replaced div's dimensions are saved so that the page doesn't collapse while loading the new div? Also, could you add a feature to disable scrolling to the top of the page?

    The Ajax For All plugin currently offers these features so maybe you could use some of that code. I tried to dissect the code myself but after 10 hours I didn't get very far.

    EDIT: My navbar tags aren't updating even though the URL is updating. How can I fix this?

    http://wordpress.org/extend/plugins/advanced-ajax-page-loader/

  2. paracleteweb
    Member
    Posted 2 years ago #

    Also interested in this, especially disabling scroll to top.

    @TechTalk - have you found a way to make either of these features work?

  3. TechTalk
    Member
    Posted 2 years ago #

    No I have not. For now I'm using the Ajaxify WordPress Site (AWS) plugin.

  4. paracleteweb
    Member
    Posted 2 years ago #

    Thanks TechTalk, AWS works great with no scrollTop for me.

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

  5. Dean Williams
    Member
    Plugin Author

    Posted 2 years ago #

    Okay I'm going to be adding an option to disable the "scrolltotop" and possibly even "show content behind loading" options so you can keep the content there.

    However I do have to say, scrolling to the top of the document makes sense as the content of the page changes, without it the user is potentially going to land in the middle of a document when they move pages, which could be confusing.

    However it is always good to have options :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic