I want to understand how stackoverflow is displaying mobile friendly page when i am trying to visit website from my mobile. It also displays fullsite option to switch back to same question on web version. I would appreciate if someone can answer my following
questions:
1) How to detect mobile device and display mobile friendly page.
2) Stackoverflow is using CSS approach or mobile framework
3) Do i need to develop new mobile site or i can do it inside existing website.
4) How to develop switch back of mobile version and web version.
jordon8844
Member
2 Points
7 Posts
Mobile Site like StackOverflow
Jun 21, 2012 04:10 PM|LINK
I want to understand how stackoverflow is displaying mobile friendly page when i am trying to visit website from my mobile. It also displays fullsite option to switch back to same question on web version. I would appreciate if someone can answer my following questions:
1) How to detect mobile device and display mobile friendly page.
2) Stackoverflow is using CSS approach or mobile framework
3) Do i need to develop new mobile site or i can do it inside existing website.
4) How to develop switch back of mobile version and web version.
Thank you.
Jordon Willis
Moderator Go4Sharepoint.com
roopeshreddy
All-Star
20125 Points
3323 Posts
Re: Mobile Site like StackOverflow
Jun 22, 2012 09:28 AM|LINK
Hi,
You can use the Mobile detection scripts! You can refer the link - http://detectmobilebrowsers.com/
It may be using the jQuery Mobile/Phone Gap stuff to render the content to Mobiles, which inturn uses CSS for styling needs!
It's up to you! You can render the same website with just adding some Mobile META tags, which makes your website mobile compatible!
http://developer.apple.com/library/safari/#documentation/appleapplications/reference/SafariHTMLRef/Articles/MetaTags.html
OR, you can have separate website created for Mobile websites using jQuery Mobile / PhoneGap / kendoUI etc.,
Suppose if you have both the version, then you can provide a link pointing to the full website in the Mobile version and vice versa!
Hope it helps u...
Roopesh Reddy C
Roopesh's Space