Home Forums Tutorials and Hints from Users JavaScript for auto scroll down a page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #50102



    do we have any JavaScript specialists here who could give me a solution to the following problem?

    I do have some pages where users should solve a drag and drop puzzle kinda questionnaire. However the questions go beyond the page length which means you pick up the answer on top and have to drag it below the visible page (so you need to scroll up the content). The behaviour should be exactly like the one we find at the WordPress widgets settings page, if you pick a widget you can scroll up/down just by holding the widget and move the mouse to the top or bottom and the content will auto-scroll accordingly.


    Any hints?


    Many thanks!




    I think that kind of behavior uses AJAX, something that for simplicity most themes avoid using directly, including Weaver. I’ve seen a few plugins that use that (like page builders), but it requires a whole different kind of programming technique and expertise that I frankly don’t have.

    I just don’t think there would be a simple solution to this, and if you are using a plugin to create your puzzle, then it would be up to the plugin developer to add that kind of functionality.

    But I don’t think there is any simple, quick solution – if I understand your goal based on your comment about how widgets work.


Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.