The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript i want to load animation only once when the user reaches to certain part

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #162916

    In my site there is a circle animation which is happening when the page is loaded,so that animation is finishing before user see it. how to control this circle animation to load when user reaches to that part and it has to animate only once. please help. thanks.


    The basic premise is you want to trigger some action (showing the loading symbol) when and only when the user reaches the part of the page where it exists.

    There are some JS/jQuery plug-ins that do just this: tell you once a page element is visible on the screen. This has been worked on a lot so I’m just going to give you a good Google query result that you can look through for some possible solutions:

    I’m not sure what your experience level is with JS/jQuery but I’m just going to give you a gentle push in the right direction as I don’t have time at the moment to write up a more detailed response.


Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.