Update js/mobileinit.js
[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         //$.mobile.loadingMessage = "Loading ...";
13         //$.mobile.loadingMessageTheme = "a"
14         //$.mobile.loadingMessageTextVisible = false; 
15         //$.mobile.pageLoadErrorMessage = "Error Loading Page"
16         //$.mobile.pageLoadErrorMessageTheme = "e"
17         
18         // Navigation
19         //$.mobile.page.prototype.options.backBtnText = "Go back";
20         //$.mobile.page.prototype.options.addBackBtn      = true;
21         //$.mobile.page.prototype.options.backBtnTheme    = "d";
22         
23         // Page
24         //$.mobile.page.prototype.options.headerTheme = "a";  // Page header only
25         //$.mobile.page.prototype.options.contentTheme    = "c";
26         //$.mobile.page.prototype.options.footerTheme = "a";
27         
28         // Listviews
29         //$.mobile.listview.prototype.options.headerTheme = "a";  // Header for nested lists
30         //$.mobile.listview.prototype.options.theme           = "c";  // List items / content
31         //$.mobile.listview.prototype.options.dividerTheme    = "d";  // List divider
32         //$.mobile.listview.prototype.options.splitTheme   = "c";
33         //$.mobile.listview.prototype.options.countTheme   = "c";
34         //$.mobile.listview.prototype.options.filterTheme = "c";
35         //$.mobile.listview.prototype.options.filterPlaceholder = "Filter data...";
36         
37         //$.mobile.dialog.prototype.options.theme
38         //$.mobile.selectmenu.prototype.options.menuPageTheme
39         //$.mobile.selectmenu.prototype.options.overlayTheme
40 });