From: Michael Martinez Date: Sun, 12 Feb 2012 06:20:42 +0000 (-0700) Subject: Added some basic JQM overrides X-Git-Url: https://git.mdrn.pl/ReadingsJQM.git/commitdiff_plain/9ae1cf96bee6653c7e17685427573caf012136d9?ds=inline;hp=--cc Added some basic JQM overrides --- 9ae1cf96bee6653c7e17685427573caf012136d9 diff --git a/js/mobileinit.js b/js/mobileinit.js index 2721829..63fc340 100644 --- a/js/mobileinit.js +++ b/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 }); \ No newline at end of file