Rob, very interesting reply, under many aspects. > The function changes the UI in fundamental ways. Press and hold on > the first button and it is greyed-out to show it has focus. Move your > finger and the focus is removed since the movement is interpreted as > panning. If the button it tapped, the element is greyed/ungreyed > quickly to show the user where the event occurred before the click > event fires. I think this is a very useful feature, even though it > looks less that elegant in an otherwise slick touch interface. >
What I presented is just a proof of concept. If you add a "hover" class to the element onTouchStart and remove it onTouchMove you can mimic the standard UI pretty closely. I agree that on a standard web page the script is a nonsense, but can be useful on a webapp, even more on a phonegap'd one. Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
