diff --git a/docs/buttons.html b/docs/buttons.html index 5e2b3d74..32bc5cd7 100755 --- a/docs/buttons.html +++ b/docs/buttons.html @@ -11,7 +11,6 @@

Buttons

- Home
diff --git a/docs/events.html b/docs/events.html index cb05ab2a..8c461376 100755 --- a/docs/events.html +++ b/docs/events.html @@ -11,7 +11,6 @@

Events

- Home
diff --git a/docs/forms.html b/docs/forms.html index fd587d7a..ed69294d 100755 --- a/docs/forms.html +++ b/docs/forms.html @@ -11,7 +11,6 @@

Forms

- Home
diff --git a/docs/forms/index.html b/docs/forms/index.html index 13185139..a787b77a 100755 --- a/docs/forms/index.html +++ b/docs/forms/index.html @@ -16,18 +16,12 @@

Forms are great!

- - -
diff --git a/docs/intro.html b/docs/intro.html index 937a3092..b0ccccc0 100755 --- a/docs/intro.html +++ b/docs/intro.html @@ -11,7 +11,6 @@

Getting started

- Home
diff --git a/docs/links.html b/docs/links.html index 950b1d22..413c6394 100755 --- a/docs/links.html +++ b/docs/links.html @@ -11,7 +11,6 @@

Links

- Home
diff --git a/docs/toolbars/bars-themes.html b/docs/toolbars/bars-themes.html index f4191167..43dea2b6 100755 --- a/docs/toolbars/bars-themes.html +++ b/docs/toolbars/bars-themes.html @@ -13,22 +13,37 @@

Bar theming

- -
-

Both the header and footer bars will be styled by default with the theme's "a" color swatch (black in the default theme) because these bars are typically primary in the visual hierarchy of a page. To set the header or footer bars to a different color in your theme, add the data-theme attribute and specify the letter of the theme swatch (a, b, c, etc.). For example, this will set the bar to swatch "b" (blue in the default theme):

- -
-
-		<div data-role="header" data-theme="b"> 
-			<h1>Page Title</h1> 
-		</div> 
-		
-
+

Both the header and footer bars will be styled by default with the theme's "a" color swatch (black in the default theme) because these bars are typically primary in the visual hierarchy of a page.

-

Demo description

+ +

Theming headers and footers

+

To set the header or footer bars to a different color in your theme, add the data-theme attribute and specify the letter of the theme swatch (a, b, c, etc.). For example, this will set the bar to swatch "b" (blue in the default theme):

+ +
+
+<div data-role="header" data-theme="b"> 
+	<h1>Page Title</h1> 
+</div> 
+
+
+ + +

Theming buttons in toolbars

+ +

Any link added inside the header block will be automatically styled as a button that matches the color of the bar's theme swatch. To make a button stand out as a primary call to action, the data-theme attribute can be used to specify a contrasting button color from a different theme swatch. For example, if we set the header to theme "c" (light gray), both buttons would be styled as the "c" button by default. If we wanted the Save button to visually pop, we can override the color by setting the data-theme attribute to "b" (blue in our default theme) on the Save button's anchor.

+ +
+
+<a href="add-user.php" data-theme="b">Save</a> 
+
+
+ + + +

Theme variations

This is a demo of the variation that can be achieved by tweaking the theme swatches and buttons inside the headers and footers.

Headers

@@ -37,7 +52,7 @@

Bar theme "a"

New
- +
Cancel

Bar theme "a"

@@ -95,6 +110,7 @@
+

diff --git a/docs/toolbars/docs-headers.html b/docs/toolbars/docs-headers.html index bb27db5a..128481f8 100755 --- a/docs/toolbars/docs-headers.html +++ b/docs/toolbars/docs-headers.html @@ -54,30 +54,7 @@

If there isn't a user-defined button in the left slot, the framework will auto-generate a "back" button in that slot to automate the process of including this common navigation element on every page. To prevent the back button from being added to a header in these situations, add this attribute: data-nobackbtn="true".

-

Bar & button theme styling

-

The header will be styled by default with the theme's "a" color swatch (black in the default theme) because these bars are typically primary in the visual hierarchy of a page. To set the header to a different color in your theme, add the data-theme attribute and specify the letter of the theme swatch (a, b, c, etc.). For example, this will set the bar to swatch "b" (blue in the default theme):

- -
-
-<div data-role="header" data-theme="b"> 
-<h1>Page Title</h1> 
-</div> 
-
-
- - -

Any link added inside the header block will be automatically styled as a button that matches the color of the bar's theme swatch. To make a button stand out as a primary call to action, the data-theme attribute can be used to specify a contrasting button color from a different theme swatch. For example, if we set the header to theme "c" (light gray), both buttons would be styled as the "c" button by default. If we wanted the Save button to visually pop, we can override the color by setting the data-theme attribute to "b" (blue in our default theme) on the Save button's anchor.

- -
-
-<a href="add-user.php" data-theme="b">Save</a> 
-
-
- - Themed header examples - - diff --git a/docs/toolbars/docs-navbars.html b/docs/toolbars/docs-navbars.html deleted file mode 100755 index 20baac47..00000000 --- a/docs/toolbars/docs-navbars.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - jQuery Mobile Docs - Toolbars - - - - - -
- -
-

Navbar basics

-
- -
- -

The Nav Bar widget can be added to the page to provide a navigation bar that accommodates an unlimited number of options in a compact element that placed inside a header, content, or footer region of the page. It displays up to 4 items in a horizontal bar with out without icons. If more than 4 items are in the navigation list, the 4th slot is used for a "more" link that opens a separate overlay with the full list of items.

-

The markup for a nav bar is identical to a basic linked list view: an unordered list with a link in each item and an optional icon. This markup is transformed into a nav bar by adding a data-role="navbar" attribute to the list.

- Nav bar examples - -
-
- - - \ No newline at end of file diff --git a/docs/toolbars/index.html b/docs/toolbars/index.html index b0c078ad..4d7de8bb 100755 --- a/docs/toolbars/index.html +++ b/docs/toolbars/index.html @@ -19,22 +19,16 @@ - - diff --git a/docs/toolbars/navbar.html b/docs/toolbars/navbar.html index 2317ff50..7e2640c1 100755 --- a/docs/toolbars/navbar.html +++ b/docs/toolbars/navbar.html @@ -24,56 +24,32 @@
-

Demo description

+

Nav bar widget

-

This page includes a examples of the navbar plugin, which can be called on a div containing a UL.

- -

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis.

-

navbar in the content:

-
- -
-
- +

The Nav Bar widget can be added to the page to provide a navigation bar that accommodates an unlimited number of options in a compact element that placed inside a header, content, or footer region of the page. It displays up to 4 items in a horizontal bar with out without icons. If more than 4 items are in the navigation list, the 4th slot is used for a "more" link that opens a separate overlay with the full list of items.

-
    -
  1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  2. -
  3. Aliquam tincidunt mauris eu risus.
  4. -
+

The markup for a nav bar is identical to a basic linked list view: an unordered list with a link in each item and an optional icon. This markup is transformed into a nav bar by adding a data-role="navbar" attribute to the list.

-

Header Level 2

- -
    -
  1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  2. -
  3. Aliquam tincidunt mauris eu risus.
  4. -
+

+<div data-role="navbar">
+	<ul>
+		<li><a href="bars-fixed.html">Fixed</a></li>
+		<li><a href="bars-inline.html">Inline</a></li>
+		<li><a href="bars-fullscreen.html">Fullscreen</a></li>
+		<li><a href="../../_dialog.html" data-transition="pop" data-rel="dialog">Dialog</a></li>
+		<li><a href="bars-persist.html">Persistent</a></li>
+		<li><a href="bars-themes.html">Themes</a></li>
+	</ul>
+</div><!-- /navbar -->
+
+ +

The navbar can be added inside the header or footer bar if you want it to persist.

+ -

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.

- -

Header Level 3

- - - -

-						#header h1 a { 
-							display: block; 
-							width: 300px; 
-							height: 80px; 
-						}
-						
- -

HTML Ipsum Presents

+

Now for some filler content to make the page scroll

+ +

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis.