Added some basic JQM overrides
[ReadingsJQM.git] / js / mobileinit.js
1 /* 
2         jQuery Mobile Boilerplate
3         mobileinit.js
4         http://jquerymobile.com/demos/1.0.1/docs/api/globalconfig.html
5
6         This file is only required if you need to apply overrides to the
7         page before anything else has run. It MUST be loaded before
8         the jQuery Mobile javascript file.
9 */
10 $(document).bind('mobileinit', function(event){
11         // apply overrides here
12     // Navigation
13     //$.mobile.page.prototype.options.backBtnText = "Go back";
14     //$.mobile.page.prototype.options.addBackBtn      = true;
15     //$.mobile.page.prototype.options.backBtnTheme    = "d";
16
17     // Page
18     //$.mobile.page.prototype.options.headerTheme = "a";  // Page header only
19     //$.mobile.page.prototype.options.contentTheme    = "c";
20     //$.mobile.page.prototype.options.footerTheme = "a";
21
22     // Listviews
23     //$.mobile.listview.prototype.options.headerTheme = "a";  // Header for nested lists
24     //$.mobile.listview.prototype.options.theme           = "c";  // List items / content
25     //$.mobile.listview.prototype.options.dividerTheme    = "d";  // List divider
26     //$.mobile.listview.prototype.options.splitTheme   = "c";
27     //$.mobile.listview.prototype.options.countTheme   = "c";
28     //$.mobile.listview.prototype.options.filterTheme = "c";
29     //$.mobile.listview.prototype.options.filterPlaceholder = "Filter data...";
30     
31     //$.mobile.dialog.prototype.options.theme
32     //$.mobile.selectmenu.prototype.options.menuPageTheme
33     //$.mobile.selectmenu.prototype.options.overlayTheme
34 });