Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>As for your #1 question...</p> <pre><code>$('a').live('click',function() {$(this).removeClass( $.mobile.activeBtnClass )}); $('li').live('click',function() {$(this).removeClass( $.mobile.activeBtnClass )}); </code></pre> <p>I noticed on my site that links (that I was making into buttons with data-role="button") and list items would stay blue after pressed. The above code removed this issue for me after placing it in the head of the document.</p> <hr> <p>----EDIT----</p> <p>For the remaining two questions:</p> <p>Some example code would be good as well as a target device but it sounds like it's a viewport meta tag issue. Here is the viewport I've settled on:</p> <p>&lt; meta name="viewport" content="height=device-height,width=device-width,initial-scale=1.0,maximum-scale=1.0" ></p> <p>This viewport sizes the page to the device-screen width and height and does not allow zooming. You can allow zoom by changing the "maximum-scale=1.0" to a larger value (iPhone/Safari currently supports up-to 10.0).</p> <p>As for splash screens, Xcode 4.0.2 (iPhone development) made it easy to just put a Default.png file into the /Resources/splash/ directory. If you are using Xcode make sure to use the Phonegap project wizard when you make your project because Phonegap makes these files by default, making it easy for you to replace the images. I use Eclipes for my Android development which is also easy to add a splash screen to your Phonegap app. Simply place the following code in the /src/App.java file directly after the "onCreate" function and before the "super.onCreate(savedInstanceState);" line:</p> <p>super.setIntegerProperty("splashscreen", R.drawable.splash);</p> <p>This will require putting an image named splash.png (I think any file extension will work) in the /res/drawable-*dpi directories (there are usually hdpi, mdpi, and ldpi directories).</p> <p>NOTE: I'm using Phonegap 0.9.5.1 however this should work with anything 0.9.2 and above.</p> <p>----END EDIT----</p> <hr>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload