Is it possible to use Javascript to emulate the Add to Home Screen option in Mobile Safari's bookmark menu?  Something similar to IE's window.external.AddFavorite(location.href, document.title); possibly?...
Is it possible to position an element fixed relative to the viewport in Mobile Safari? As many have noted, position: fixed doesn't work, but Gmail just came out with a solution that almost is what I want – see the floating menu bar on the mes...
I'm using this function to copy a URL to the clipboard:  function CopyUrl($this){    var querySelector = $this.next().attr("id");   var emailLink = document.querySelector("#"+querySelector);    var range = document.createRange()...
I'm using this HTML code:  <form action="#" method="post">     <fieldset>         <label class="desc" id="title10" for="Field10">             How many children do you have?         </...
This is a WEB APP not a native app. Please no Objective-C NS commands.  So I need to detect 'pinch' events on iOS. Problem is every plugin or method I see for doing gestures or multi-touch events, is (usually) with jQuery and is a whole add...
This is a hard one to articulate and I am new to mobile web development so please bear with me:  On my webpage, I have 3 Nested dropdown lists (Area, Town, Street).  Nested as in, each dropdown's items are modified when the selection in the dro...
What are the differences between onbeforeunload and onunload ? Also I have a specific question related to it's use on the iPad...I have a page (myPage.html) where I am trying to show an alert when the page is closed (i.e. X is pressed to close...
I've implemented a form which needs to disable certain options in a select box using Javascript. It works fine in all browsers but not in Safari on IOS (Desktop Safari does it right).  I've been looking around the web but it seems nobody had...
How can I reliably detect using javascript that a page is loaded inside a WKWebView? I'd like to be able to detect these scenarios:   iOS & WKWebView iOS & Safari not iOS   There is a similar question about UIWebView here. But it's qu...
I was tracking down some ridiculously high load times that my app's javascript reported, and found that Android (and iOS) pause some JavaScript execution when the window is in the background or the display is off.   On Android, I found that I cou...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.