Merge pull request #2 from MichaelMartinez/monkfork
authorAndy Matthews <andy@commadelimited.com>
Sun, 12 Feb 2012 17:28:34 +0000 (09:28 -0800)
committerAndy Matthews <andy@commadelimited.com>
Sun, 12 Feb 2012 17:28:34 +0000 (09:28 -0800)
Added some basic JQM overrides to mobileinit.js

js/mobileinit.js

index 2721829..63fc340 100644 (file)
@@ -9,7 +9,26 @@
 */
 $(document).bind('mobileinit', function(event){
        // apply overrides here
+    // Navigation
+    //$.mobile.page.prototype.options.backBtnText = "Go back";
+    //$.mobile.page.prototype.options.addBackBtn      = true;
+    //$.mobile.page.prototype.options.backBtnTheme    = "d";
 
+    // Page
+    //$.mobile.page.prototype.options.headerTheme = "a";  // Page header only
+    //$.mobile.page.prototype.options.contentTheme    = "c";
+    //$.mobile.page.prototype.options.footerTheme = "a";
 
-
+    // Listviews
+    //$.mobile.listview.prototype.options.headerTheme = "a";  // Header for nested lists
+    //$.mobile.listview.prototype.options.theme           = "c";  // List items / content
+    //$.mobile.listview.prototype.options.dividerTheme    = "d";  // List divider
+    //$.mobile.listview.prototype.options.splitTheme   = "c";
+    //$.mobile.listview.prototype.options.countTheme   = "c";
+    //$.mobile.listview.prototype.options.filterTheme = "c";
+    //$.mobile.listview.prototype.options.filterPlaceholder = "Filter data...";
+    
+    //$.mobile.dialog.prototype.options.theme
+    //$.mobile.selectmenu.prototype.options.menuPageTheme
+    //$.mobile.selectmenu.prototype.options.overlayTheme
 });
\ No newline at end of file