mobile

Firefox mobile error console missing

本小妞迷上赌 提交于 2019-12-12 09:42:03
问题 I'm working on a mobile website, and it works fine in the Android stock browser. In Firefox some JavaScript functions don't work. So I was googling for the error console. I found a support page wich gives information about the error console of an early version. Is there an error console in Firefox for mobile version 14 (2012-06-26)? 回答1: Looks like it is hidden, but adding browser.console.showInPanel and devtools.errorconsole.enabled then setting both to 'true' in about:config will enable the

Accessible, mobile-friendly lightbox?

喜欢而已 提交于 2019-12-12 09:37:28
问题 Is there any lightbox solution (along the lines of Fancybox, etc.) that is both accessible (VoiceOver & JAWS, etc., compatible, with perhaps WAI-ARIA roles) and mobile-friendly? Bonus points for being a jQuery plugin. 回答1: It might be too late for you but I'll answer for people who may land here from Google search: recently I used NETEYE Touch-Gallery and it worked pretty well, at least on iPhone and Android. 回答2: I am making the same research at the moment to integrate into our project! I

window.scrollTo is not working in mobile phones

我的未来我决定 提交于 2019-12-12 09:36:36
问题 on my mobile view of my webpage i can scroll in vertical and horizontal direction, but this starts always at the top left corner. Now i want to set the viewport to my custom position with window.scrollTo or something equivalent. window.scroll seem just to work for desktop browser. any idea how i could solve that? 回答1: I got it finally working. i had to use additionally the setTimeout function setTimeout(window.scrollTo(x,y),100); 回答2: As I said in my comment, this works if your content is

Ascii check mark is always red in mobile

我怕爱的太早我们不能终老 提交于 2019-12-12 09:35:16
问题 I use ✔ aka ✔ in a cross platform web app. Problem is, I need it to be white. This works fine as expected by setting color:#fff; in the element's css in all tested platforms except via an android mobile device - I've tried Chrome and the default browser "Internet". Nothing I try seems to change the color, and even when I have other text in the element, the other text is white and the check mark is red. this fiddle reproduces the issue, as does viewing this page on my phone. My device is a

Mobile Safari text input width bug?

泪湿孤枕 提交于 2019-12-12 09:33:23
问题 Take a look at these screenshots: http://i.stack.imgur.com/1TFuj.png http://i.stack.imgur.com/3fukT.png I am having trouble getting text inputs to render as expected when set to 'width: 100%'. The text box extends too far to the right, past the right padding in the first screenshot and past the right margin of the div in the second screenshot. Is this a bug in mobile Safari? If so, can anyone suggest a workaround? It seems to work fine in other mobile browsers and also in the desktop version

Why is there excessive whitespace with Facebook mobile comments plugin?

烂漫一生 提交于 2019-12-12 09:22:19
问题 I have been struggling with why the Facebook comments module on some of our pages have excessive whitespace on them when the pages are viewed with a mobile browser. After debugging for hours, I'm now singled out the specific code and it still repros. I initially thought it was due to Twitter Bootstrap but I've compared it with and without it, and the same bug occurs. Compare this one that has bootstrap: http://jsfiddle.net/trevin/uW8fz/ and this one which does not: http://jsfiddle.net/trevin

Multitouch touchEvents not triggered as they should on Safari Mobile

隐身守侯 提交于 2019-12-12 09:06:53
问题 I have various touchEvents detection on a page on Safari Mobile (a controller, if you want to know...). They all work well indepedantly, but whenever I have a first touchpoint pressed, If I touch a new point, the events are triggered when I trigger a new one. For example : I hold the stick with a finger. It's not moving I press a button, a touchStart event should be triggered but is not If I move the stick, the touchStart event is triggered If I let go of the button, the touchStart is

Google maps iframe disable scrolling touch on mobile

半城伤御伤魂 提交于 2019-12-12 08:42:47
问题 Can I deactivate the google maps iframe when i'm on a mobile device? Settings are already with scrolling=no , but when I scroll on mobile the map is activated and become active. Is there a solution? Thanks 回答1: I had a similar problem and used something like this: <style> .overlay { background:transparent; position:relative; width:640px height:480px; top:480px; margin-top:-480px;} </style> <html> <div class="overlay" onClick="style.pointerEvents='none'"></div> <iframe src="https://mapsengine

How to use the Azure Mobile Service API feature

随声附和 提交于 2019-12-12 08:15:19
问题 An API feature has been added to WAMS where I can define custom scripts. This seems to deprecate the previous practice of creating a script table. However, I couldn't find any description about how I can use it. Which clients make this feature accessible? Can it be used from iOS or Javascript? 回答1: And a couple more posts on this topic: http://blogs.msdn.com/b/carlosfigueira/archive/2013/06/14/custom-apis-in-azure-mobile-services.aspx (server side) and http://blogs.msdn.com/b/carlosfigueira

Swiper slides - showing end/start of previous/next slides like Airbnb Slider?

家住魔仙堡 提交于 2019-12-12 08:09:01
问题 Above is the slider from Airbnb . Is there a way to get a similar effect with Swiper? For the first slide, there is a blank space on the left and start of the next slide. For the middle slide, there is the start and end of previous and next slides. For the last slide, there is a blank space on the right and end of the previous slide on the left. 回答1: Just set the slidesPerView option using decimal places, eg: var swiper = new Swiper('.swiper-container', { ... // this shows a bit of the