Added some basic JQM overrides
authorMichael Martinez <machinedesigner@gmail.com>
Sun, 12 Feb 2012 06:20:42 +0000 (23:20 -0700)
committerMichael Martinez <machinedesigner@gmail.com>
Sun, 12 Feb 2012 06:20:42 +0000 (23:20 -0700)
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