Configurable Default Settings

The following defaults are configurable via the $.mobile object:

subPageUrlKey (string, default: "ui-page"):
The url parameter used for referencing widget-generated sub-pages (such as those generated by nested listviews). Translates to to example.html&ui-page=subpageIdentifier. The hash segment before &ui-page= is used by the framework for making an Ajax request to the URL where the sub-page exists.
nonHistorySelectors (string, default: "dialog"):
Anchor links with a data-rel attribute value, or pages with a data-role value, that match these selectors will not be trackable in history (they won't update the location.hash and won't be bookmarkable).
activePageClass (string, default: "ui-page-active"):
The class assigned to page currently in view, and during transitions
activeBtnClass (string, default: "ui-page-active"):
The class used for "active" button state, from CSS framework.
ajaxLinksEnabled (boolean, default: true):
jQuery Mobile will automatically handle link clicks through Ajax, when possible.
ajaxFormsEnabled (boolean, default: true):
jQuery Mobile will automatically handle form submissions through Ajax, when possible.
transitions (array, default: ['slide', 'slideup', 'slidedown', 'pop', 'flip', 'fade']):
Available CSS transitions in the CSS.
defaultTransition (string, default: 'slide'):
Set the default transition for page changes that use Ajax. Set to 'none' for no transitions by default.
loadingMessage (string, default: "loading"):
Set the text that appears when a page is loading. If set to false, the message will not appear at all.
metaViewportContent (string, default: "width=device-width, minimum-scale=1, maximum-scale=1"):
Configure the auto-generated meta viewport tag's content attribute. If false, no meta tag will be appended to the DOM.
headExtras (markup string or jQuery object, default: null):
Additional markup to prepend to head element.
gradeA (function that returns a boolean, default: a function returning the value of $.support.mediaquery):
Any support conditions that must be met in order to proceed.

Visit the Configuring Default Settings page for instructions on configuring these properties.