diff --git a/pages/tabs.html b/pages/tabs.html index 9674d21e..fef16a37 100644 --- a/pages/tabs.html +++ b/pages/tabs.html @@ -7,7 +7,12 @@ } } -

This widget is imported unchanged from jQuery UI. Nevertheless, in keeping with jQuery Mobile widget features, the options documented on its jQuery UI API reference page are also available as data-* attributes.

+

Tabs

+

The jQuery UI tabs widget is bundled unchanged with jQuery Mobile. Thus, it's API documentation fully describes its functionality.

+

Options and autoinitialization

+

When used with jQuery Mobile's autoinitialization features, the options documented on the widget's API documentation page can also be provided as data-* attributes in the markup. You can add the data-role="tabs" attribute to your tabs widget markup to indicate that the element is to be turned into a tabs widget.

+

Ajax considerations

+

jQuery Mobile provides an extension to the tabs widget (tabs.ajax). The extension provides no new API, however, it modifies the way in which the widget evaluates whether displaying the content referred to by the href attributes of the links that play the role of tabs requires retrieval via Ajax. It is necessary to include this extension if your project consists of multiple external jQuery Mobile pages, one of which features a tabs widget.

Example: