|Jun 6, 2013, 11:15 PM||#1|
Mobile detection/redirect suggestions
Hey folks, wondering if anyone has any good resources or scripts for mobile detection?
I've used a few in the past that have worked, and currently I'm finishing up a project that will have a one page mobile site and a full standard site. I'd like to have an option for the mobile user to view the full site after initially being directed to the mobile site, but I'm trying to figure out how to keep them from being redirected back to the homepage (ideally without building a redundant set of pages for them to be directed to).
Any ideas? Thanks, appreciate it.
|Jun 7, 2013, 07:52 AM||#2|
Add a session variable.
Something like mobile = false. Have your magic script detect mobile and change mobile = true.
Allow the user to click a button that changes the mobile = true back to false. Have the user check as an if statement surrounding the mobile script detection. At the very top default the user selection to false.
Wow, It may actually be easier to put this in code instead of pseudo.
TI-99/4A, tape cassette, 12" B&W Zenith
|Jun 7, 2013, 01:14 PM||#3|
A friend gave me http://mobiledetect.net/ to check out which looks like it does a nice job of detection, just need to figure out how to integrate the variable idea.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|iPhone: Application Redirect||a2k||Jailbreaks and iOS Hacks||9||Nov 6, 2014 08:37 PM|
|ipad mini cellular t-mobile redirect loop||dkimxd||iPad Tips, Help and Troubleshooting||3||May 6, 2014 04:28 PM|
|DNS Redirect on OS X 10.6||Les Kern||Mac OS X Server, Xserve, and Networking||3||Dec 11, 2013 02:43 AM|
|Need suggestions for mobile phone choice for mobile company?||Imola Ghost||iPhone Tips, Help and Troubleshooting||2||Jun 28, 2013 07:17 AM|
|Need suggestions for mobile picture printing from iPhone||kmichalec||iPhone||3||Oct 4, 2012 11:40 AM|
All times are GMT -5. The time now is 09:54 PM.