mobile-browser

Make scrollbar visible in mobile browsers

廉价感情. 提交于 2019-12-28 02:29:04
问题 when I have a web page with a scrollable content. With css property "overflow:auto" or "overflow:visible" the scrollbar is visible on desktop browsers, but when I open the page on mobile browsers the scrollbar appears only when I try to scroll. Is there a way to make the scrollbar always visible on mobile devices? I have tried some JQuery libraries but none of them have worked. The html code is trivial, I have a scrollable div with an IFrame inside: <div id="wrapper"> <iframe id="frameContent

“Autoplay” HTML5 audio player on mobile browsers

心已入冬 提交于 2019-12-28 01:31:11
问题 I am creating a HTML5 music website for mobile users.The goal is to get it running completely in mobile browsers.. The issue is that when a user selects a track to play, they are taken to the "player" page.I then AJAX in a HTML5 audio element in with the autoplay attribute set to true. This works great on desktops, not so much on mobile. The track is not playing though once this page is reached, and the user instead needs to explicitly click play from this player page in order for audio

sending sms from a mobile browser

寵の児 提交于 2019-12-25 09:13:12
问题 Is there any updates for sending sms from the browser(mobile)? I've seen similar posts on this topic from here and here (actually both share the same method of sending sms). Anyway the method of the above links is able to CREATE a message but not send it like so: <a href="sms:+123456789?body=TheMessage">SEND</a> When a user is browsing with a mobile device and clicks on the link it creates a new message ready to send to mobile number +123456789 with a message TheMessage . So it still requires

How can I find the mobile phone manufacturer using javascript on mobile browser

戏子无情 提交于 2019-12-25 07:47:49
问题 When the user visits my html page using the mobile browser, I want to know the device type and manufacturer. Is it possible? If you open the web site www.mhltech.org/DoIHaveMHL.aspx from a mobile browser, it will identify the mobile device (like Motorola Moto G 2nd Gen 2014, Asus Google Nexus 7, etc.). It is what I am looking for. 回答1: Perhaps you can use platform.js. You can use platform.manufacturer; to solve your problem. 回答2: In my case ua-parser-js was the best free solution. The

What could cause a text input to sometimes be un-selectable for mobile browsers?

谁说我不能喝 提交于 2019-12-24 05:48:08
问题 GOAL: Make a chat-interface wich works on desktop also work on mobile. PROBLEM: I've thrown together a chatbot proof-of-concept. Everything is very simple, including the JS & CSS. While I'm also having a separate issue with CSS, I suspect this issue might be a javascript problem. I have a div which contains a text input. The div starts out hidden, and becomes visible when a sibling div is clicked. Additionally (also when the sibling div is clicked), focus is placed on the text-input contained

php redirect header location to phone number

半世苍凉 提交于 2019-12-23 23:09:19
问题 I'm trying to redirect the user's click on a link to a telephone number through php like this: //HTML <a href="tele.php"> and the php: <?php header("Location: tel:+123456789"); exit; ?> This works on newer mobile browsers but won't on the older ones in particular Nokia WAP2.0 browser. Any ideas, plaese? 回答1: Try wtai://wp/mc;xxxxxxxxx instead of tel: . 回答2: I've found a solution after few trials. I set up a third-level domain of my main domain: call.mydomain.it . In its docroot I placed an

Touchend not firing after touchmove on Android 4.x?

纵然是瞬间 提交于 2019-12-23 08:57:11
问题 I am writing some code with Javascript just like this: var el = document.getElementById('some-div'); el.ontouchstart = function(e){ el.innerHTML = "touch start"; }; el.ontouchend = function(e){ el.innerHTML = "touch end"; }; el.ontouchmove = function(e){ el.innerHTML = "touch moved"; }; This code work fine on iOS/Safari and Android 2.x.x . On Android 4.x (I tried 4.0.4 & 4.1) , touchend not firing after touchmove. If I tap the screen, don't move my finger, touchend will be fired. How to fix

How to Fetch Serial Number from Android Mobile Browser using Java Scripting which will be from web application source running in mobile browser [closed]

拜拜、爱过 提交于 2019-12-22 04:10:56
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 years ago . I can able to find UniqueId,Serial,IMEI,OS and IP Address from Android Mobile Native Application. But, I could not able to find the above device information via mobile browser app, which will be from web application source running in mobile browser. Note: I reffered many links, regarding this, they

How to Fetch Serial Number from Android Mobile Browser using Java Scripting which will be from web application source running in mobile browser [closed]

纵饮孤独 提交于 2019-12-22 04:10:07
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 years ago . I can able to find UniqueId,Serial,IMEI,OS and IP Address from Android Mobile Native Application. But, I could not able to find the above device information via mobile browser app, which will be from web application source running in mobile browser. Note: I reffered many links, regarding this, they

Facebook friend dialog not working on mobile

妖精的绣舞 提交于 2019-12-21 19:26:43
问题 Prologue: I have about the same problem as described in the previously asked question (FB add friend dialog on mobile doesnt work). But since there is no real solution to this problem made known other than the comment: "it started working ... I didnt change anything." [...] (@dinodsaurus) I'm asking it again. With some extra information specific to my case. I'm using the facebook friend dialog by redirecting (302) to an URL like: (https://www.facebook.com/dialog/friends/?id=3500194&app_id