Skip to content
Browse files

Merge pull request #2 from MichaelMartinez/monkfork

Added some basic JQM overrides to mobileinit.js
  • Loading branch information...
2 parents 6090094 + 9ae1cf9 commit adca307d05feb88b2127e1eb0b5e19ae677b320c @commadelimited committed Feb 12, 2012
Showing with 20 additions and 1 deletion.
  1. +20 −1 js/mobileinit.js
View
21 js/mobileinit.js
@@ -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
});

0 comments on commit adca307

Please sign in to comment.
Something went wrong with that request. Please try again.