Created
February 8, 2013 16:10
-
-
Save macdonst/4740006 to your computer and use it in GitHub Desktop.
Some things you can do to have jQuery Mobile run a bit faster on Android devices. Basically you are disabling some CSS and other functions. YMMV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
text-shadow: none !important; | |
-webkit-box-shadow: none !important; | |
-webkit-border-radius:0 !important; | |
-webkit-border-top-left-radius:0 !important; | |
-webkit-border-bottom-left-radius:0 !important; | |
-webkit-border-bottom-right-radius:0 !important; | |
-webkit-border-top-right-radius:0 !important; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).bind("mobileinit", function() { | |
$.mobile.autoInitializePage = false; | |
$.mobile.defaultPageTransition = 'none'; | |
$.mobile.touchOverflowEnabled = false; | |
$.mobile.defaultDialogTransition = 'none'; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment