auto-scroll Java script stops working

  • Author
    Posts
  • #50366

    SebastianStevens
    Participant

    Hello

    I have this auto scroll script that I paste inside page.php file of this theme.
    Right after I save it the script works, but the next day it stops working although the script is still there.

    This is the script:

    What can I be doing wrong? and if there is a better way to make the website autoscroll on page load then I would love to know too! (btw: the one much used auto scroll on id plugin didn’t work for me).

    Thank you!

    S├ębastian

    Website: www.marjandehaer.com

    #50831

    SebastianStevens
    Participant

    Well, it seems to work now.
    So I guess this post is obsolete.

    Kind regards,

    S├ębastian

    #50854

    SebastianStevens
    Participant

    Well, it doesn’t work. maybe it works on one pc and not on the other. Its nice it doesnt work on mobile devices, that is actually an advantage. But it would be nice if it worked on all laptops and pc’s.

    #54496

    SebastianStevens
    Participant

    Hopefully there is a solution to this? Because a website i have made looks only good on all devices when this script works, and somehow it stops working after a day or so.

    Thanks in advance!

    #54525

    zed
    Keymaster

    Scripts should be placed in dedicated locations (like the footer) or files, not inside files responsible for rendering content.


    If you like our creations, please rate them on WordPress.org.
Viewing 5 posts - 1 through 5 (of 5 total)

You need to log in to reply to this topic.