Yep, simply added webkit transitions for <ul> elements on left and top
like this:

ul { -webkit-transition: left 0.2s linear, top 0.2s linear; }

and changed iui.js's slidePages function to simply set
frompage.style.left/top and topage.style.left/top instead of
incrementing/decrementing on a setTimeout.  It seemed like a
straightforward change to me, but it did not work like my simple demos
did.

(BTW the demo worked on an iPhone even without the 2.0 software.)

Just as a side note, these css properties are in webkit proper too and
thus would be supported by Android and other mobile browsers based on
webkit.

On May 17, 4:43 am, Chrilith <[EMAIL PROTECTED]> wrote:
> AFAIK this is part of iPhone 2.0 so noone really test this. There is a
> lot of new css features I'd like to use in WAn.
>
> You mean that you mixed -webkit-* and iui and it doesn't work?
>
> On 16 mai, 21:59, dgouldin <[EMAIL PROTECTED]> wrote:
>
> > Has anybody tried to use the webkit specific css properties for
> > transitions instead of js?  I've currently disabled the page slides
> > because they're too choppy on an actual iPhone.  I tried getting -
> > webkit-transition to work, and though my proof of concept pages worked
> > fine, I was unable to get it to work in iui.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to