Yes, I have it working using the canvas tag and two png alpha images: one for the base image and one for the shadow. Basically, Clear the Image, DrawImage of the background, Translate the rotation of the button image, and Draw the button image. In my implementation, I also change the Cascading style sheet size of the delete button and use 4 steps at 100ms increments. Hope this helps...
Todd Daniell -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of James Craig Sent: Sunday, September 09, 2007 6:05 PM To: [email protected] Subject: Re: Mimic iPhone delete sequence? [EMAIL PROTECTED] wrote: > Has anyone figured out how to mimick the delete sequence apple uses in > their apps? > > The rotation of the red circle w/white line image is the part that is > killing me. I've made the icon, but I can't seem to figure out any > javascript to rotate it when you click on it. Does anyone have this > functionality working? The most browser-consistent version would be to use a non-animated GIF, set up with all the stages of the animation as sprites. See: http://www.alistapart.com/articles/sprites Then animate the background-position using a JavaScript interval or series of timeouts. Cheers, James --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
