johnRedden / OpenGraph

Open Source Graphing Calculator Web App
http://www.opengraphingcalculator.com/
MIT License
20 stars 4 forks source link

No Mobile Detection #63

Open pgonzbecer opened 9 years ago

pgonzbecer commented 9 years ago

Need to figure out how to detect if it is on a mobile phone or something

pgonzbecer commented 9 years ago

For now I have a rather simple working one, but I am not too sure.

Here are some links I found trying to find which is the most efficient one, there wasn't a real definative answer:

https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=most%20efficient%20way%20of%20detecting%20mobile%20on%20a%20website

http://stackoverflow.com/questions/3514784/what-is-the-best-way-to-detect-a-mobile-device-in-jquery

http://www.designyourway.net/blog/resources/detecting-and-redirecting-mobile-users/

http://www.altamirano.org/mobile-technology/how-to-detect-mobile-devices-and-browser-type-efficiently-mobile/

I don't know if I want to close this one juuust yet.

johnRedden commented 9 years ago

We have bootstrap... it might help here? http://getbootstrap.com/getting-started/

<meta name="viewport" content="width=device-width, initial-scale=1">