The Power of Contextual Menus on a Mobile Device
This was an interesting exercise. I went to Google Docs in my desktop browser and looked at the contextual menus in the page.. They were File, Edit, View, Insert, Format, Tools, Table, Help. I wanted to see how long it would take to recreate those exact same menus in a Web page that work on both Android and iPhone (Google Docs requires a Mobile app to do this).
Here’s the result: 9 lines of HTML code, and about 2 minutes to create. Now the really cool thing is that I can change these menus in real time based on someone switching to another service or even another Web site. You could even pre-load from a cache on the device.
And the same code runs exactly the same on iPhone