Just check if document.getElementsByClassName exists and if WebKit is
in the user agent


On May 30, 12:01 am, Peter Blazejewicz <[EMAIL PROTECTED]>
wrote:
> hi,
>
> there was similar topic on apple webdev 
> list:http://lists.apple.com/archives/Web-dev/2008/May/msg00016.html
> I would go with browser sniffing anyway because it will be quick regex
> againts safari/webkit engine version,
>
> regards,
> Peter
>
> On May 29, 11:08 pm, amadeus <[EMAIL PROTECTED]> wrote:
>
> > Hello All,
>
> > I have been developing some stuff on the beta iPhone 2.0 firmware. I
> > am utilizing CSS Animations and Transforms but I am running into a bit
> > of a problem.
>
> > I would like this app to be used in other places, many that of course
> > do not support CSS Animations and Transforms. I want to serve other
> > devices/browsers additional JS to perform the animations instead. I
> > don't want to go the route of browser detection, but rather object
> > detection.
>
> > I have tried:
>
> > if(!obj.style.webkitTransform) { .. serve JS } but it doesn't work.
>
> > Anyone have any ideas or come across documentation for this?
>
> > Cheers,
> > Amadeus
--~--~---------~--~----~------------~-------~--~----~
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