Good Morning.. I am a newbie and I love these types of post.. I have a
question to pose:

 

If all else fails, why not have an available "Mobile Friendly Version"
hyperlink that the user can select? That way. if their mobile device doesn't
display appropriately. they have an option to select from until a better
solution comes along.

 

Have a super day!

Jody Meyer

 

From: [email protected] [mailto:[email protected]] On
Behalf Of Mike Kear
Sent: Thursday, January 06, 2011 11:10 PM
To: [email protected]
Subject: [WSG] Detecting Mobile user agent - what methods work best?

 

I have to convert a client site to enable phone users to use the site and I
was wondering what is the best method to detect the mobile user agent and
switch the css sheet?

 

As far as I have seen, there are  a few ways to do this - which is best?
(or maybe the way to put it is  'least bad')

 

[A]  a link at the top of the normal page, linking to a mobile version of
the page.   (yuk)

[B] javascript detection     (but there are thousands of mobile devices to
detect.   YUK )

[C] Use CSS @media handheld  (but many mobile phones don't support the
handheld media type )

[D] server side detection using CGI.User_Agent   (but there are so many user
agents to detect)

[E] screen resolution detection  (but is that reliable?) 

 

Are there any other ways to do this?

 

How do the rest of you handle serving pages to both computer screens and
mobile device screens??

 

Cheers

Mike Kear

Windsor, NSW, Australia

Adobe Certified Advanced ColdFusion Developer 

AFP Webworks

http://afpwebworks.com 

ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month

 


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
******************************************************************* 



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to