Modifications to Cubiq dot org’s Spinning Wheel Control (Updated)

Working with the UIPickerView isn’t too bad, but if you’d rather work with cool web technology like CSS3, then this control’s for you. Plus it gives you a nice basis for a very customizable picker control.  UPDATE 09-21-2012: The demo stopped working and I suspect it has something to do …

Find an Element’s Position Using Javascript

I went through quite a few Google searches trying to figure this out. My problem was that I needed to get the coordinate of a touch event relative to the top left corner of an element. However, the TouchEvent object doesn’t have the offsetX or offsetY, which, in contrast, the MouseEvent …