Created
March 26, 2013 02:47
-
-
Save wildwest-service/5242731 to your computer and use it in GitHub Desktop.
jQueryMobile1.3.0のページ遷移時の設定。jquery.mobile-1.3.0.min.jsと併せて読み込むだけでOK。
This file contains 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() { | |
//ページ遷移アニメーションの標準設定 face/pop/flip/turn/flow/slidefade/slide/slideup/slidedown/none | |
$.mobile.defaultPageTransition = "none"; | |
//ページローディングメッセージの設定 | |
$.mobile.loader.prototype.options.theme = "a"; //ローディング表示のテーマ a/b/c/d/e | |
$.mobile.loader.prototype.options.textonly = true; //スピナーを表示させるか、テキストだけ表示にするか true/false | |
$.mobile.loader.prototype.options.textVisible = true; //ローディング中にテキストを表示させるか true/false | |
$.mobile.loader.prototype.options.text = "読み込み中"; //ローディング中に表示させるテキスト | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment