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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340547
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to