PDA

View Full Version : How to show different code depending on device?



MrTIMarshall
Aug 8th, 2012, 05:08 AM
Hello,

Looking at the Facebook share code and there is some for normal browsers and some for iphone.

http://developers.facebook.com/docs/reference/dialogs/feed/

Was wondering how to show the iphone code if it's and iphone and the other for normal browsers?

Best Regards,
Tim

Philip M
Aug 8th, 2012, 08:23 AM
Detect the screen resolution.

http://www.codingforums.com/showthread.php?t=263029

All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.