[thelist] iPhone (browser) detection

Simon MacDonald simonmacdonald at uk2.net
Sun Sep 28 04:52:20 CDT 2008


> Does that seem correct?  And so would it further be correct that the 
> primary reason to detect iPhone with a *SCRIPT* would be to send it to a 
> different *HTML* page (hooked up to its own stylesheet), while the 
> primary reason to detect with *CSS* would be to send the "regular HTML" 
> page to a different *STYLESHEET*.


I agree with your reasoning. I would go down the CSS route using conditional
CSS.[1]

I'm about to try this myself but as I haven't got access to an IPhone I'm
going to have to use the Dreamweaver extension [2]


[1]
http://developer.apple.com/documentation/AppleApplications/Reference/SafariW
ebContent/OptimizingforSafarioniPhone/chapter_3_section_2.html#//apple_ref/d
oc/uid/TP40006517-SW2

[2]
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=
1307518


cheers

Simon

Simon MacDonald
www.lemonslicedesign.com






More information about the thelist mailing list