Commit graph

436 commits

Author SHA1 Message Date
toddparker
509082efd1 Updated supported browser page to include WP7 and say alpha 4. 2011-03-25 13:07:27 -04:00
toddparker
649824a40e Few language tweaks. 2011-03-25 13:01:35 -04:00
toddparker
ea074d1ef1 Set the global default for select menus to use the native instead of custom. Updated the docs and examples to match. 2011-03-25 12:44:46 -04:00
scottjehl
61005944d3 Added support for the target attribute on forms (such as target="_blank"). When set, the form handler simply allows the native handling to apply. Unlike anchors however, the rel attribute is not allowed on forms. If you're purely looking to submit a single form without ajax, you can use the data-ajax="false" attribute as well. Fixes #952 and docs updates are included 2011-03-24 00:59:42 -04:00
toddparker
f22b7c8395 Updates to rel="external" dialog docs 2011-03-23 12:44:24 -04:00
toddparker
aad79e8a9a Added rel="external" example to the dialogs docs 2011-03-23 12:39:04 -04:00
toddparker
b3cfe8778f Added documentation on how to disable Ajax form submission via data- attribute and gloabl config. 2011-03-15 19:21:27 -04:00
scottjehl
3275baf64c added demo pages for inset filter lists 2011-03-15 00:08:01 -04:00
scottjehl
7f48419a29 This adds a fallback for navbars that have one item, so they simply fill 100%. Credit for this fix and idea goes to kennedyr (Richard Kennedy), but we changed the naming around a bit. Fixes #1107. Thanks Richard! 2011-03-14 20:26:20 -04:00
scottjehl
0d9627d54e Added viewport meta elements to the markup of every template and removed the metaViewportContent option from code and docs. IE does not support generated viewport tags. 2011-03-14 00:20:23 -04:00
toddparker
9e29410d0a Added documentation to explain how to use the refresh method on many form elements when you manipulate them. This will hopefully help a lot of people who were confused by this! 2011-03-13 22:16:13 -04:00
toddparker
061fbc4a72 Fixed country names next to flags. Apologies to Norway, Finland and Sweden! Fixes #1156. 2011-03-13 21:58:37 -04:00
toddparker
9bd530b1fa Added a new demo page showing how adding data-role="none" to form elements and buttons will show the default, native control. Added link to this page from the forms index.
Good news - the data-role="none" attribute seems to work great, no issues found.
2011-03-09 15:35:45 -05:00
Ernesto Jiménez
dae3e2fa74 Proper support for lists with search filter and dividers 2011-02-23 17:42:47 +00:00
Jim Hoskins
cbd890daa6 Changed <ul> to <ol> in html content formattic doc 2011-02-23 01:27:12 +08:00
Jim Hoskins
1b588fa76d Updated grammatical errors in docs
Changed "an" to "a" where appropriate
2011-02-23 01:27:12 +08:00
Ashley Streb
767c35c629 Updating docs to specify that the default transition for dialogs is 'pop' 2011-02-16 22:52:44 -08:00
tschaub
899e9581e9 P free hamster. 2011-02-16 05:55:21 +08:00
Michael O'Hearn
554bb1e7e3 fixed a typo 2011-02-10 22:04:15 -08:00
John Bender
2a1935caf5 Revert "added autoInitialize documentation"
This reverts commit 7da26e1974.
2011-02-07 08:11:57 -08:00
Ryan
ee56af59af Added data-dividertheme to docs. 2011-02-05 20:08:23 -05:00
scottjehl
89cb6d455f typos in page template urls. 2011-02-04 10:13:56 -05:00
scottjehl
a1867eef58 found a dead link that managed to take down our multipage demo. 2011-02-04 08:08:32 -05:00
toddparker
c618ef4251 Added bg color for demo pages 2011-02-03 18:38:51 -05:00
toddparker
6c63bc699b Merge remote branch 'origin/master' 2011-02-03 18:34:55 -05:00
toddparker
0aeb20b180 home button fixes 2011-02-03 18:34:35 -05:00
scottjehl
0745af1292 typo in code example. Fixes #966 2011-02-03 17:49:58 -05:00
toddparker
2423c3cb59 Device image 2011-02-03 17:31:56 -05:00
toddparker
9806cdc221 Added a home link to all pages and changed the header bar theme swatch to b globally 2011-02-03 17:29:48 -05:00
toddparker
d79d0e3c45 Updated sample page templates and docs to mobile a3 and jquery 1.5 2011-02-03 16:36:21 -05:00
toddparker
1db7cfb360 New high-res logo with better compression 2011-02-03 14:17:06 -05:00
toddparker
6e50626914 Alpha 3 flag 2011-02-03 14:09:55 -05:00
toddparker
928562dd92 Created demo buttons for the new home and search icons 2011-02-03 13:38:25 -05:00
toddparker
985cc19934 Added h2 to intro page 2011-02-03 08:17:18 -05:00
toddparker
9e95212789 Added firefox mobile to the list of supported browers for alpha 3. 2011-02-03 08:15:14 -05:00
toddparker
faf36d02a1 Fixed broken footer example, added a few more color variations. 2011-02-03 08:11:57 -05:00
scottjehl
1c49c96b6c added data-rel back attrs to dialog sample buttons 2011-02-03 02:59:30 -05:00
John Bender
7da26e1974 added autoInitialize documentation 2011-02-02 23:03:07 -08:00
toddparker
d76234b397 Content tweaks for form theme page, fixed a few broken links 2011-02-01 22:55:10 -05:00
toddparker
1644bca45b Added data-role="button" attributes to links because these were rendering as links only. Added link to form theming page. 2011-02-01 22:38:22 -05:00
toddparker
cd17ceda97 Updated the status of alpha 3 borwser support page 2011-02-01 22:30:45 -05:00
scottjehl
698f7fd255 updated attribute for new option name 2011-02-01 15:50:40 -05:00
scottjehl
aad8ac174a Removed the extra ways to set nativeMenu option in select plugin. Now like other plugins, the option is both available through the plugin's options (nativeMenu) or through a data-attribute (data-native-menu), which is automated through the camelcase option name. Unit tests updated 2011-02-01 13:27:35 -05:00
scottjehl
3f938fd2f9 fixed bug where a preset data-url was being prefixed by the base url, rather than replacing the whole hash. Fixes #591 2011-02-01 12:32:02 -05:00
scottjehl
e0d419d001 updated some docs pages to mention data-ajax="false" attribute on links. 2011-02-01 01:20:47 -05:00
scottjehl
0572757af3 updated docs to describe new listview li-level data-theme option 2011-02-01 01:07:17 -05:00
scottjehl
b3a8230638 This commit includes simplifications to the hashchange event handling & changePage logic, which results in a few bug fixes and removal of some previous limitations. Details:
- jquery.mobile.core.js  no longer creates pages from every page and dialog in the DOM automatically at domready. Instead, pages are created as they are referenced via changePage, which can speed up pageload in multi-page documents, and means local "dialogs" referenced via data-rel="dialog" no longer need a data-role="dialog" attribute when served.

- in changePage, "from" is now allowed to be undefined. This simplifies the logic involved in showing the first page, which never had a "from" page, and previously needed a custom pageChange workaround to accommodate that.

- The pageshow event is no longer used as a callback for returning false and preventing the $.mobile.activePage from being set to the newly shown page. In other words, a page always becomes $.mobile.activePage once its shown now (the only reason this was optional before was because of a dialog restriction that's no longer true)

- the hashchange event logic for showing a particular page is now greatly simplified. It either shows the page referenced in location.hash, or if there's no hash it changes to the first page in the dom. This means every pageshow (including the first one) now uses pageChange internally.

- the hashchange event listener is no longer disabled when ajaxEnabled == false. Doing this before prevented local non-ajax page navigation from working properly. To disable hashchange listening, use $.mobile.urlHistory.listeningEnabled. We might consider defining (or moving) this on the $.mobile hash later as well for easier access.

- The internal var $.mobile.startPage is now $.mobile.firstPage, because it's not necessarily the page you started on, but merely a reference to the first "page" in the dom.

- Back buttons are auto-added to every page after the first one you first visit (this includes generated pages, such as those in a multipage document or nested listviews). Keep in mind that a "back" button does not take the place of a standard "home" link, and when building an app with jQuery Mobile, it's good to make use of both (particularly on deep-linked pages). Fixes #908
2011-01-31 17:05:57 -05:00
scottjehl
f842b46474 added data-rel attrs to close buttons 2011-01-31 17:05:41 -05:00
scottjehl
44806bcf58 added a dialog to the demo 2011-01-31 16:51:20 -05:00
scottjehl
b112b6ea84 updated doc version # 2011-01-31 16:45:41 -05:00