I am in the process of creating a code snippet that will allow users to scroll through items within a div, similar to a spinning wheel or slot machine. While I am aware of an existing solution for iPhone and iPod, I want to develop a simpler, more streamlined version.
I have not incorporated any images into the design, instead focusing on utilizing CSS3 animations. You can view my current progress on jsbin here. Although I attempted to bind the touchmove
event using jQuery, it seems that the alert is not triggering as expected.
My primary goal is to enable smooth scrolling/swiping up and down within the div container without affecting the overall page scroll. Any suggestions or improvements to the code would be greatly appreciated.
This functionality is intended for mobile devices such as iPhones and Android smartphones.
Thank you in advance for your help!