diff --git a/containers-states.html b/containers-states.html new file mode 100644 index 00000000..0eba81d4 --- /dev/null +++ b/containers-states.html @@ -0,0 +1,75 @@ + + + + jQuery Mobile Framework - Static Containers, States + + + + + +
+ +
+

Containers and states

+ Home +
+ +
+
+

Description

+

This page displays examples of themeable containers that are used throughout the jQuery Mobile framework.

+
+ +
+ Button +

ui-bar-a

+
+
+

ui-body-a ui-link

+ Button +
+ + +
+ Button +

ui-bar-b

+
+
+

ui-body-b ui-link

+ Button +
+ + +
+ Button +

ui-bar-c

+
+
+

ui-body-c ui-link

+ Button +
+ + + +
+ Button +

ui-bar-d

+
+ +
+
+ + + \ No newline at end of file diff --git a/docs/buttons.html b/docs/buttons.html new file mode 100644 index 00000000..aa2febc5 --- /dev/null +++ b/docs/buttons.html @@ -0,0 +1,26 @@ + + + + jQuery Mobile Docs - Buttons + + + + + +
+ +
+

Buttons

+ Home +
+ +
+
+ +
+
+ +
+ + + \ No newline at end of file diff --git a/docs/forms.html b/docs/forms.html new file mode 100644 index 00000000..51796cfa --- /dev/null +++ b/docs/forms.html @@ -0,0 +1,26 @@ + + + + jQuery Mobile Docs - Forms + + + + + +
+ +
+

Forms

+ Home +
+ +
+
+ +
+
+ +
+ + + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000..7fcc55f4 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,35 @@ + + + + jQuery UI Mobile Framework - Documentation + + + + +
+ +
+

jQuery Mobile - Getting Started Guide

+
+ +
+ +
+ +
+ + \ No newline at end of file diff --git a/docs/intro.html b/docs/intro.html new file mode 100644 index 00000000..434661a2 --- /dev/null +++ b/docs/intro.html @@ -0,0 +1,26 @@ + + + + jQuery Mobile Docs - Intro + + + + + +
+ +
+

Getting started

+ Home +
+ +
+
+ +
+
+ +
+ + + \ No newline at end of file diff --git a/docs/links.html b/docs/links.html new file mode 100644 index 00000000..59b40a20 --- /dev/null +++ b/docs/links.html @@ -0,0 +1,26 @@ + + + + jQuery Mobile Docs - Links + + + + + +
+ +
+

Links

+ Home +
+ +
+
+ +
+
+ +
+ + + \ No newline at end of file diff --git a/docs/lists-divider.html b/docs/lists-divider.html new file mode 100644 index 00000000..e523b440 --- /dev/null +++ b/docs/lists-divider.html @@ -0,0 +1,46 @@ + + + + jQuery Mobile Docs - Lists + + + + + + +
+ +
+

List dividers

+ Home +
+ +
+ +
+
+ + + \ No newline at end of file diff --git a/docs/lists-formatting.html b/docs/lists-formatting.html new file mode 100644 index 00000000..89b7a391 --- /dev/null +++ b/docs/lists-formatting.html @@ -0,0 +1,108 @@ + + + + jQuery Mobile Docs - Lists + + + + + + +
+ +
+

List formatting

+ Home +
+ +
+ +

List with count bubble

+ + + + + + +

List with thumbnail, text hierarchy and right column content (aside)

+ + + + +

List with email inbox style formatting

+ + +
+
+ + + \ No newline at end of file diff --git a/docs/lists-inset.html b/docs/lists-inset.html new file mode 100644 index 00000000..153fdd68 --- /dev/null +++ b/docs/lists-inset.html @@ -0,0 +1,46 @@ + + + + jQuery Mobile Docs - Lists + + + + + + +
+ +
+

Inset list

+ Home +
+ +
+ +
+
+ + + \ No newline at end of file diff --git a/docs/lists-nested.html b/docs/lists-nested.html new file mode 100644 index 00000000..ccf0a2aa --- /dev/null +++ b/docs/lists-nested.html @@ -0,0 +1,53 @@ + + + + jQuery Mobile Docs - Lists + + + + + + +
+ +
+

Nested list

+ Home +
+ +
+ +
+ +
+ + + \ No newline at end of file diff --git a/docs/lists-ol.html b/docs/lists-ol.html new file mode 100644 index 00000000..0da4e7ea --- /dev/null +++ b/docs/lists-ol.html @@ -0,0 +1,43 @@ + + + + jQuery Mobile Docs - Lists + + + + + + +
+ +
+

Lists

+ Home +
+ +
+
    +
  1. Page A
  2. +
  3. Page B
  4. +
  5. Page C
  6. +
  7. Page D
  8. +
  9. Page E
  10. +
  11. Page F
  12. +
  13. Page G
  14. +
  15. Page H
  16. +
  17. Page I
  18. +
  19. Page J
  20. +
  21. Page K
  22. +
  23. Page L
  24. +
  25. Page M
  26. +
  27. Page N
  28. +
  29. Page O
  30. +
  31. Page P
  32. +
  33. Page Q
  34. +
  35. Page R
  36. +
+
+
+ + + \ No newline at end of file diff --git a/docs/lists-split.html b/docs/lists-split.html new file mode 100644 index 00000000..ef36deb3 --- /dev/null +++ b/docs/lists-split.html @@ -0,0 +1,47 @@ + + + + jQuery Mobile Docs - Lists + + + + + + +
+ +
+

List formatting

+ Home +
+ +
+ +
    +
  1. + jb +

    Page A

    +

    Quick description about this item here

    + 22 + browse details +
  2. +
  3. + jb +

    Page A

    +

    Quick description about this item here

    + 22 + browse details +
  4. +
  5. + jb +

    Page A

    +

    Quick description about this item here

    + 22 + browse details +
  6. +
+
+
+ + + \ No newline at end of file diff --git a/docs/lists-ul.html b/docs/lists-ul.html new file mode 100644 index 00000000..83985fa3 --- /dev/null +++ b/docs/lists-ul.html @@ -0,0 +1,43 @@ + + + + jQuery Mobile Docs - Lists + + + + + + +
+ +
+

Lists

+ Home +
+ +
+ +
+
+ + + \ No newline at end of file diff --git a/docs/lists.html b/docs/lists.html new file mode 100644 index 00000000..0ee80826 --- /dev/null +++ b/docs/lists.html @@ -0,0 +1,67 @@ + + + + jQuery Mobile Docs - Lists + + + + + +
+ +
+

Lists

+ Home +
+ +
+
+ +

Basic lists

+

A list starts as a simple unordered list with a data-role="listview" attribute. jQuery Mobile will apply all the necessary styles to transform the list into a mobile-friendly list view that fills the full width of the browser window. When you tap on the list item, the framework will trigger a click on the first link inside the list item, issue an AJAX request for the URL in the link, create the new page in the DOM, then kick off a page transition.

+ + Basic list example + +

Nested lists

+

By nesting child ul of ol inside list items, you can create nested lists. When a list item with a child list is clicked, the framework will generate a new ui-page populated with the title of the parent in the header and the list of child elements. These dynamic nested lists are styled with the "b" theme swatch (blue in the default theme) to indicate that you are in a secondary level of navigation. Lists can be nested multiple level deep and all pages and linking will be automatically handled by the framework.

+ Nested list example + +

Numbered lists

+

Lists can also be created from ordered lists (ol) which is useful when presented items that are in a sequence such as search results or a movie queue. When the enhanced markup is applied to the list view, jQuery Mobile will try to first use CSS to add numbers to the list and, if not supported, will fall back to injecting numbers with JavaScript.

+ + Numbered list example + +

Split lists

+

In cases where there is more than one possible action per list item, a split button can be used to offer two independently clickable items -- the list item and a small arrow icon in the far right. To make a split list item, simply add a second link inside the li and the framework will add a vertical divider line, style the link as an icon-only arrow button, and sets the title attribute of the link to the text the link for accessibility.

+ + Split list example + +

List dividers

+

List items can be turned into dividers to organize and group the list items. This is done by adding the data-role="list-divider" to any list item. These items are styled in a header class (swatch "c" by defaut") and won't be clickable.

+ + List divider example + +

Text formatting & counts

+

The framework includes text formatting conventions for common list patterns like header/descriptions, secondary information, counts through HTML semantic markup. +

    +
  • To add a count indicator to the right of the list item, wrap the number in an element with a class of ui-li-count
  • +
  • To add text hierarchy, use headings to increase font emphasis and use paragraphs to reduce emphasis.
  • +
  • Supplemental information can be added to the right of each list item by wrapping content in an element with a class of ui-li-aside
  • +
  • To add thumbnails to the left of a list item, add an image
  • +
+ List divider example + + +

Inset lists

+

If lists are embedded in a page with other types of content, an inset list packages the list into a block that sits inside the content area with a bit of margin and rounded corners (theme controlled). By adding the data-inset="true" attribute to the list (ul or ol), the list will get the inset appearance.

+ + Inset list example + + + +
+
+
+ + + \ No newline at end of file diff --git a/docs/page.html b/docs/page.html new file mode 100644 index 00000000..72ade278 --- /dev/null +++ b/docs/page.html @@ -0,0 +1,59 @@ + + + + jQuery Mobile Docs - Intro + + + + + +
+ +
+

Getting started

+ Home +
+ +
+
+ +

+<!DOCTYPE html> 
+<html> 
+	<head> 
+	<title>My page</title> 
+	<link rel="stylesheet" media="only all" href="css/all" /> 
+	<script type="text/javascript" src="js/all"></script>
+</head> 
+<body> 
+
+<div data-role="page">
+
+	<div data-role="header">
+		<h1>My Page</h1>
+		<a href="index.html" class="ui-back" data-icon="arrow-l">Icon</a>
+	</div><!-- /header -->
+
+	<div data-role="content">
+		<div class="ui-body ui-body-c">
+	
+		</div><!-- /ui-body wrapper -->	
+	</div><!-- /content -->
+	
+	<div data-role="footer">
+		...footer content goes here...
+	</div><!-- /footer -->
+	
+</div><!-- /page -->
+
+</body>
+</html>
+		
+ + +
+
+
+ + + \ No newline at end of file diff --git a/docs/themes.html b/docs/themes.html new file mode 100644 index 00000000..cf9ddbfb --- /dev/null +++ b/docs/themes.html @@ -0,0 +1,140 @@ + + + + jQuery Mobile Framework - Static Containers, States + + + + + +
+ +
+

Themes

+ Home +
+ +
+ +
+ +

Description

+

The jQuery Mobile theme framework contains multiple color "swatches" for bars, content blocks and buttons. The key to the theme system used in jQuery UI is separation of color and texture (theme) from structural styles that define things like padding and dimensions. This allows the theme colors and textures to be defined once in the stylesheet then re-used throughout the interface as configurable color swatches that can be mixed and matched. We also take advantage of CSS3 properties to add rounded corners, box and text shadow and gradients to make the theme styles very lightweight and reduce server requests.

+ +

Themes include at least 3 swatches for bars, content blocks and buttons. To make mapping of color swatches consistent across our widgets, we have followed the convention that swatch "a" is the highest level of visual priority (black in our default theme), "b" is secondary level (blue) and "c" is the baseline level (gray) that we use by default in many situations. Themes may have additional swatches but these are used for accents colors or specific situations within an app or site.

+ + + +

Bars

+

The default theme contains 4 color swatches for bars to use in header, footer and tool bars. The swatches are designated by letters (a, b, c, etc.) and are organized into a visual hierarchy where "a" is the highest level of visual priority, "b" is secondary, "c" is the baseline, and "d" is for accents. Each swatch defines the border color, text color, gradient, text-shadow, font family and link color. Our default theme looks like this:

+ +
+
Bar A
+
Bar B
+
Bar C
+
Bar D
+
+ +

By default, the framework assigns the "a" swatch (black in the default theme) to all headers and footer because these are typically given high visual priority in an application. To set the color of a bar to a different swatch color, simply add the data-theme attribute to your header or footer and specify a letter (a, b, c, d) and the specified theme swatch color will be applied.

+ + + +

Content Blocks

+

The default theme contains 3 color swatches for use in content blocks. These are designed to coordinate with the header color swatches in the default theme. Just as with bars, you can add as many content block swatches you want by extending the theme stylesheet. If a theme isn't specified on a content block, the framework will default to "c", just like the header.

+ +
+
Block A
+
Block B
+
Block C
+
+ + +

Lists

+

There are 2 supported list view styles. FIX THIS.

+ + + + +

Buttons

+

A set of 4 button colors are also included in the default theme. Each button has styles for normal, hover/focus and pressed states. Each button is intentionally styled to match the color of a bar so they feel tightly integrated.

+ + + +

Buttons in Bars

+

When a link is placed in a header or footer bar, it is automatically transformed into a compact-sized button and assigned a theme swatch letter that matches it's parent bar to visually integrate the button into the bar. Below, the same exact button code is in each of the 4 bars and is automatically adapting the right color swatch based on the parent bar swatch.

+ +
+

Bar A

Button A
+

Bar B

Button B
+

Bar C

Button C
+

Bar D

Button D
+
+ +

To add visual emphasis of certain buttons in a toolbar, the theme swatch can be manually on a button to make it stand out by adding data-theme="a" to the anchor.

+ +
+

Bar A

+ A + B + C + D +
+

Bar B

+ A + B + C + D +
+

Bar C

+ A + B + C + D +
+

Bar D

+ A + B + C + D +
+ +
+ +

Icons

+

+
+
+ left + right + up + down + plus + minus + delete +
+
+ + +

Extensible themes

+

The powerful thing about the new jQuery Mobile theme system is that you can now add as many color swatches as you like within a single theme. In the future ThemeRoller tool, you will be able to add new swatches through an easy-to-use web interface. Until then, you can add new swatches manually by copying the block of theme style rules for an existing swatch, renaming the rules a new letter (e) and changing colors. You can then you can reference the new theme by adding the data-theme="e" attribute to your toolbars.

+ +
+
+ +
+ + + \ No newline at end of file diff --git a/index.html b/index.html index a53005c5..17df6545 100644 --- a/index.html +++ b/index.html @@ -9,11 +9,12 @@
-

jQuery Mobile

+

Docuemntation