指でぐりぐり回してスクロールするクリックホイールの動きを再現してみました。 iPhone4Sで動作確認済。 var clickWheel = {}; (function() { // private variables var lastX, lastY, screenElem, offsetTop, offsetLeft, selectedIndex = 0, // private variables(fixed) WHEEL_BODY_RADIUS = 105, LINE_HEIGHT = 26, DISP_LINES = 5, TOUCH_START = "ontouchstart" in window ? 'touchstart' : 'mousedown', TOUCH_MOVE = "ontouchstart" in window ? 'touchmove' : 'mousemo
![iPodのクリックホイールを再現 - jsdo.it - Share JavaScript, HTML5 and CSS](https://cdn-ak-scissors.b.st-hatena.com/image/square/9b2ac27b7b209032fe6f39a5f6db48d850505d5f/height=288;version=1;width=512/http%3A%2F%2Fjsdo-static-contents.s3.amazonaws.com%2Fimages%2Fcapture%2Fx%2Fo%2F1%2Fxo1y.jpg%3Ft%3D1350267054)