Good day! I ask for help from the society, because he himself is stuck.
Task:
The hour wheel should rotate when scrolling up and down the page. Nowhere can I find information or tutorial on this issue ...
Pliz help!
Thank you in advance!

  • one
    jsfiddle.net/oceog/QrWSb here I implemented both rotation and offset from scrolling - zb ' '
  • @eicto, psychedelic. - Max Zhukov

1 answer 1

You can take a scroll position: var x = $(document).scrollTop() and use the jqueryrotate.js plugin depending on the value of x .

  • I'm sorry, but can I have a little more detail? The thing is, I don’t know much about JS, but I have to do it. So far, I managed with banal save-pastes and ready-made plug-ins, but here I wasn’t lucky ... Thanks in advance! - ant_po