1

I want to have a mobile website view specifically for touch enabled mobile phones. I already have a mobile website for simple mobiles having user agent 'mobile' and for desktops or big screens as 'desk'. I dont want a version touch.*.com rather i want a technique which redirects users automatically to the the optimized website for the device like many mobile sites do for eg facebook.

How should i go for it?

elmuchacho
  • 424
  • 3
  • 8
hkasera
  • 2,118
  • 3
  • 23
  • 32
  • No other answer have been posted and I clearly put you on a solution path providing a link to an implemented php service that allow you to detect which device is making a request from the php. – elmuchacho Mar 08 '12 at 16:13

1 Answers1

1

Did a bit of research and this is what I found http://en.wikipedia.org/wiki/WURFL

The PHP implementation http://wurfl.sourceforge.net/nphp/

Front End

Same question from an other post "valid answer" What's the best way to detect a 'touch screen' device using JavaScript?

The info can be found on the following "require reading"

Optimize website for touch devices

And a bit more details on how moderniz detect it

http://modernizr.github.com/Modernizr/touch.html

Hope that help

Community
  • 1
  • 1
elmuchacho
  • 424
  • 3
  • 8