mobile-website

How can I prevent Chrome from formatting a HTML5 format number

这一生的挚爱 提交于 2019-12-11 02:39:51
问题 I need to create a form for a mobile website in which people can enter a number with a decimal mark like 5.3. In order to make it easier for the visitors to enter the numbers, I want to force the smartphone to display the on-screen keyboard with the characters the user is most likely to enter. It's possible to show the numbers on-screen keyboard by adding the HTML5 type="number" input type. Unfortunately Google Chrome then starts to validate the input and allows only intergers to be entered.

Cookies On Mobile Phone

你离开我真会死。 提交于 2019-12-11 02:28:32
问题 can I use a cookie or session object in my mobile website to control login from a PHP page? 回答1: Yes. Mobile phones use web browsers which generally support cookies (unless the phone is really old), so a cookie based login shouldn't be a problem. 回答2: Keep in mind that some networks or transcoding proxies of networks may block cookies. it would be better to use url based session state if you care about every visitor. 回答3: Thought I would update this as it came up on a search I did for my

Is is possible to change page zoom in Mobile Safari via Javascript?

半世苍凉 提交于 2019-12-10 21:43:17
问题 I have a site using jquerymobile. It loads an initial webpage, and then as other pages are clicked, they are loaded in an "overlay" which slides over the top. Just like this: http://jquerymobile.com/demos/1.0a4/ ..except mine has pinch zoom enabled. I want the zoom state to be independent on each page the user sees. So, if a user starts on page one, opens an "overlay", zooms in, and then closes the "overlay" -- I want the first page to reset to the original zoom level. Is this possible? 回答1:

Html disable android deep link

ぃ、小莉子 提交于 2019-12-10 21:24:22
问题 Is there any way to tell a webpage link (the < a > tag) to NOT deep link to an android app and to stay in the browser. I'm referring to what can be done in on the website, not the app. 回答1: The application will kick in any time the intent url pattern matches the deeplink pattern in its manifest. I think that if you know what is the pattern, you can work around something 来源: https://stackoverflow.com/questions/30109005/html-disable-android-deep-link

Strange Click Event Bubble on iPhone safari that it stop before bubbling to document.body

匆匆过客 提交于 2019-12-10 17:41:02
问题 I have bind a click event as document.body.onclick = function(){alert("aaa")}; It do good both on android or chrome on IOS whatever element I click. But it does not trigger on iPhone safari while click the elements except a and img element. But it can bubble to body while binding the touchstart event. At last, I have to add to div(#main) to contain all my elements, and then bind the delegate object on this div. document.querySelector("#main").onclick = function(){alert("aaa")} So I am

Hide URL bar without hiding Smart App Banner on iOS

末鹿安然 提交于 2019-12-10 14:35:11
问题 Is it possible to hide the address URL bar but not the Smart App Banner on iOS Safari? I have tried the solutions from this question: Hiding address bar without hiding the smart app banner on iOS 6, but it doesn't seem to work. The Smart Banner still gets hidden when I use MBP.hideUrlBarOnLoad from https://github.com/h5bp/mobile-boilerplate/blob/master/js/helper.js, as the answer suggests to do. 回答1: I use: $(document).ready(function () { mob.SetUpEvents(); setTimeout(function () { if (jQuery

How to remove click-to-call links for IE mobile browsers

笑着哭i 提交于 2019-12-10 14:34:24
问题 Hi I am able to remove click-to-call links for labels / numbers in Iphone & Blackberry by keeping the above tags in the header part. <meta name="format-detection" content="telephone=no"> //for Safari <meta http-equiv="x-rim-auto-match" content="none"> //for Blackberry Like this do we have any property for Internet Explorer ( Windows Mobile Browser ) ? 回答1: It appears that this functionality is not present in the current release of the OS and IE will parse numbers, addresses and emails

Mobile version of the app is unavailable because it is misconfigured for mobile access

邮差的信 提交于 2019-12-10 14:15:02
问题 I don't see any requirements aside from the registration one here: https://developers.facebook.com/docs/guides/mobile/web/#register I've set the Mobile Web URL to the secure canvas url, but am receiving the error Mobile version of the app WishGenies is unavailable because it is misconfigured for mobile access The only other thing I see presumably has to do w/ the Auth Dialog page, but that just renders a blank screen for me. Any suggestions? 回答1: Ok, so I finally figured out a little about

How to customize SharePoint 2010 mobile view

耗尽温柔 提交于 2019-12-10 12:58:05
问题 I am stuck on developing a mobile view for my SP2010 publishing portal. It is Internet-facing with custom pages / web parts (e.g. http://server/Pages/customPage.aspx with custom webparts on it). The site has a custom master page. I am having the following issues with the built-in mobile functionality: The welcome page. Navigating to http://server/?Mobile=1 redirects me to http://server/_layouts/mobile/mbllists.aspx, which just shows a table of lists / document libraries available. For my

mobile website mobile website [closed]

浪尽此生 提交于 2019-12-10 12:27:13
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . website tailored for mobile devices. 回答1: At first, you should check this link. This link explains you, at first, how to redirect your Website to a mobile device. With that, you can create a full interface