mobile-website

Can Facebook's “Single Sign On” be achieved within a mobile web app?

强颜欢笑 提交于 2020-01-13 13:12:34
问题 It's my first posting on here (although I've been using this site for reference for quite some time). I've been trying for several days now to find or dream up a way to use Facebook's "Single Sign On" from within a mobile web app (not a native iOS or Android app) to automatically sign a user into a web app if they are already logged into Facebook from the native Facebook app on their mobile device for example. My limited knowledge is telling me that it can't be done since the mobile browser

Can Facebook's “Single Sign On” be achieved within a mobile web app?

纵饮孤独 提交于 2020-01-13 13:12:10
问题 It's my first posting on here (although I've been using this site for reference for quite some time). I've been trying for several days now to find or dream up a way to use Facebook's "Single Sign On" from within a mobile web app (not a native iOS or Android app) to automatically sign a user into a web app if they are already logged into Facebook from the native Facebook app on their mobile device for example. My limited knowledge is telling me that it can't be done since the mobile browser

Can Facebook's “Single Sign On” be achieved within a mobile web app?

大憨熊 提交于 2020-01-13 13:12:07
问题 It's my first posting on here (although I've been using this site for reference for quite some time). I've been trying for several days now to find or dream up a way to use Facebook's "Single Sign On" from within a mobile web app (not a native iOS or Android app) to automatically sign a user into a web app if they are already logged into Facebook from the native Facebook app on their mobile device for example. My limited knowledge is telling me that it can't be done since the mobile browser

How to create a mobile friendly website [infrastructure]

…衆ロ難τιáo~ 提交于 2020-01-13 05:09:16
问题 if i wanted to create a mobile friendly version of a relatively small website would it be better to have a sub domain that redirects to a completely new url with separate markup and styling or would it be better to detect the user agent in code and programmatically change to a different mobile friendly stylesheet, or is their a better infrastructure based solution i am overlooking.. Thanks. 回答1: If SEO isn't really a concern, Using different stylesheets with the same HTML is much easier, in

How to create a mobile friendly website [infrastructure]

断了今生、忘了曾经 提交于 2020-01-13 05:07:55
问题 if i wanted to create a mobile friendly version of a relatively small website would it be better to have a sub domain that redirects to a completely new url with separate markup and styling or would it be better to detect the user agent in code and programmatically change to a different mobile friendly stylesheet, or is their a better infrastructure based solution i am overlooking.. Thanks. 回答1: If SEO isn't really a concern, Using different stylesheets with the same HTML is much easier, in

Is there something similar to iOS's canOpenURL to check URL schemes for mobile browsers? [duplicate]

China☆狼群 提交于 2020-01-12 04:43:06
问题 This question already has answers here : Closed 6 years ago . Possible Duplicate: iPhone Safari: check if URL scheme is supported in javascript? I'm using pic2shop to provide barcode scanning for a mobile web app. For iOS, one can check [canOpenURL] to see if a particular scheme is valid (tel://, pic2shop://). Is there anything in mobile browsers (iOS, Android, etc) that provides the same functionality? 回答1: You may try placing that URL in an iframe and wait for some seconds. If you are not

Multiple HTML5 media elements on one page in iOS (iPad)

人盡茶涼 提交于 2020-01-11 16:38:10
问题 My research has led me to learn that Apple's media element handler is a singleton, meaning I can't have a video playing while an audio is playing in the background. I'm tasked to build a slideshow presentation framework and the client wants a background audio track, timed audio voice-overs which match bullet points, and variable media which can either be an image or video - or a timed cycle of multiple media elements. Of course, none of the media works on iOS. Each media element cancels out

User agents for mobile site, domain changing

北城以北 提交于 2020-01-11 11:19:10
问题 I have a mobile site and I'd like to redirect users to the domain.mobi or mobile.subdomain (we have both setup) How do I determine a mobile browser Is it bad practice to have the mobile site on a different domain or subdomain? 回答1: How do I determine a mobile browser Here's some javascript that will do the job: http://www.quirksmode.org/js/detect.html Is it bad practice to have the mobile site on a different domain or subdomain? It's good practice, and a popular convention is to use http://m

Do we need “CSS reset” for mobile browsers also?

安稳与你 提交于 2020-01-10 14:22:26
问题 Do we need "CSS reset" for mobile specific site also? like we need for desktop browsers? Can css reset on mobile sites decrease the performance of rendering? 回答1: How strongly do you believe in CSS reset for the desktop? I tend to agree with those who argue that CSS resets are too heavy-handed (have you ever read one? I'd never heard of some of those elements) and that ultimately, hand-crafted rules based on your actual needs will be most predictable and efficient. The mobile platform only

Tooltips for mobile browsers

五迷三道 提交于 2020-01-09 08:37:28
问题 I currently set the title attribute of some HTML if I want to provide more information: <p>An <span class="more_info" title="also called an underscore">underline</span> character is used here</p> Then in CSS: .more_info { border-bottom: 1px dotted; } Works very nice, visual indicator to move the mouse over and then a little popup with more information. But on mobile browsers, I don't get that tooltip. title attributes don't seem to have an effect. What's the proper way to give more