Commit graph

53 commits

Author SHA1 Message Date
scottjehl
d97a964884 been meaning to do this for a while. 2011-04-14 16:04:47 -04:00
scottjehl
bb7b09f2a1 documented theme css namespace caveat. Fixes #1341 2011-04-01 14:58:36 -04:00
scottjehl
cb34aa2169 typo 2011-04-01 12:28:28 -04:00
scottjehl
77b25a46ea docs typo. Fixes #1150 2011-03-30 23:52:36 -04:00
scottjehl
51c79481fc documented hashListeningEnabled. Fixes #1091 2011-03-30 23:28:53 -04:00
scottjehl
4a45d8d96b Added pageLoadErrorMessage option. Defaults to "Error Loading Page". Documentation included. Fixes #1258 and Fixes #363 2011-03-27 11:45:03 -04:00
scottjehl
e8cee23744 major simplification of jqmData method, while adding new methods for jqmRemoveData, and also their $-namepaced utility methods, including $.jqmHasData. Commit includes 20 new unit tests included to test compatibility with jQuery core's data methods, and docs are updated as well. 2011-03-26 14:14:02 -04:00
scottjehl
8a3b846e95 documented the new jqmData method and :jqmData selector. 2011-03-26 09:11:42 -04:00
scottjehl
9fc1f9828b fixed docs for the default namespace (blank string) 2011-03-26 08:39:12 -04:00
John Bender
63e8f6bfcb resolved merge conflicts and fixed 2 tests 2011-03-15 23:57:17 -07: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
scottjehl
19f5fd7cae changed the default namespace to "" and updated the docs/demos as such 2011-03-09 22:36:14 -05:00
scottjehl
aa0228d5b8 updated doc 2011-03-09 21:03:40 -05:00
scottjehl
9e91fa6752 updated docs with jq namespace, found some more stragglers 2011-03-09 21:03:40 -05:00
scottjehl
d183cc591f applied data-jq- namespacing to all data attributes in docs 2011-03-09 20:53:02 -05:00
Ashley Streb
767c35c629 Updating docs to specify that the default transition for dialogs is 'pop' 2011-02-16 22:52:44 -08:00
John Bender
2a1935caf5 Revert "added autoInitialize documentation"
This reverts commit 7da26e1974.
2011-02-07 08:11:57 -08:00
toddparker
0aeb20b180 home button fixes 2011-02-03 18:34:35 -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
John Bender
7da26e1974 added autoInitialize documentation 2011-02-02 23:03:07 -08: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
scottjehl
2e6a396278 added ajaxEnabled option. ajaxLinksEnabled and ajaxFormsEnabled are deprecated and will be removed by 1.0. Fixes #851 2011-01-23 19:03:35 -05:00
scottjehl
9b57c46349 Refactored urlStack and updated dialog and page plugins to match. jQuery Mobile's internal history now attempts to follow the history menu when urls change from hashchange, even for changes that go multiple steps forward or back. The internal history stack is now pruned based on whether a user goes back and then changes direction, whereas before a back-button click would result in a pop off the history. Instead we now maintain an active index number in the history stack, which allows us to maintain references to transitions that are saved on pages reached through clicking the forward button as well. This fixes #636.
In the process, some other small changes should be noted:
urlStack is now urlHistory, a hash of methods and properties used for history stack management (stack, activeIndex, getActive, getPrev, getNext, addNew, clearForward, and listening Enabled). All these are documented inline and exposed on $.mobile.urlHistory (I'm not sure these will be publicly documented, but just exposed internally for plugins for now).

$.changePage has two argument changes: the "back" argument is now called "reverse"; this results in no change from an end-user standpoint, but reflects the fact that it only reverses the direction of a transition without affecting the internal history stack, and second, a new argument at the end defines whether changePage was called from a hashChange which makes that url open to history menu guessing.
2011-01-23 17:33:36 -05:00
scottjehl
9e4b0a484c Overhauled path object and exposed it and the base object via $.mobile. Form and Link handlers now use the path methods internally. Unit tests adjusted, but more are needed to fully cover the path and base propeties and methods. Fixes #566. 2011-01-22 17:42:07 -05:00
Kin Blas
161f5e6ae3 Removed jquery.js from js/index.php and updated all html doc/experiments/test files that incuded "js/" so that they also include jquery.js manually.
This makes our include model match the include model on the CDN, and allows devs to make use of mobileinit for debugging some of the samples since that must be set up after jquery.js, but before jquery-mobile.
2011-01-20 11:26:12 -08:00
Kin Blas
8050fb0d01 Merge branch 'master' of https://github.com/walkingeyerobot/jquery-mobile into pull672 2011-01-11 09:04:32 -08:00
Kin Blas
38f09ee66f Sweep through all files to add a trailing slash to <link> tags that include thems/default. This should fix Opera Mobile Issue 763. 2011-01-05 16:19:24 -08:00
Mitch Foley
df3bc91f80 renaming nobackbtn to backbtn. 2010-12-13 10:54:26 -05:00
Michael J. Rubinsky
76cc574721 Add note specifying these events need to be called prior to jQuery Mobile execution. 2010-12-08 06:11:01 +08:00
scottjehl
80d56e655b Changed page navigation scripting to use data-url attributes instead of IDs for storing page URLs. This fixes a number of issues, most importantly #477, which exposed a conflict between jQuery's selector engine that would result in un-enhanced pages whenever linking between two pages in the same directory.
The shift away from interal ID attribute usage also allows users to bind page events (pagecreate, pagebeforecreate) to a page div by its ID, which was a frequent cause of confusion when it didn't work as expected in former versions of the framework.

Seemingly unrelated: these commits allow you to specify data-role="dialog" in multipage and single page templates. In multipage templates, the role must be on the page (a link with data-rel alone will not work in multi-page). This addresses issue number 464, but may need further testing for obscure scenarios.

Fixes #477 (Pages are not enhanced when linking to a filename without a path)
Fixes #493 (Click the same link twice -> blank page)
Fixes #513 (closing dialog + returning to the same dialog)
Fixes #550 (changePage() not updating hash for internal pages - breaks )
Fixes #464 (Dialogs don't work within multi-pages)
Fixes #633 (Recent change to prevent same-page requests breaks select menu close button)
Fixes #599 (Page ids & page specific events)
Fixes #634 (After a bad page request, base url is not reset to current path)

booya.
2010-12-07 12:05:10 -05:00
scottjehl
f56fe84245 fixed a docs typo 2010-11-18 22:56:40 -05:00
scottjehl
909a0d0f08 removed transitions property from the configuration and updated docs to match. 2010-11-18 22:18:20 -05:00
kptdobe
c413b2f86f fixed doc: missing/invalid HTML tags and wrong paths 2010-11-16 22:42:02 +08:00
scottjehl
bffff87441 changed docs for live event => bind event 2010-11-12 15:46:00 -05:00
scottjehl
cf2fc6434e added docs for media query function 2010-11-11 21:50:39 -05:00
scottjehl
aca00ea8ec renaming for screen size 2010-11-11 19:09:11 -05:00
scottjehl
058f0a867d closing tag 2010-11-11 17:50:30 -05:00
scottjehl
014bbbcc4a typo 2010-11-11 17:17:45 -05:00
Todd Parker
e9d2c376fc added demo css file to api folder pages 2010-11-11 16:15:13 -05:00
scottjehl
5a2b76bae4 close the ul 2010-11-11 16:13:30 -05:00
scottjehl
499bcb6458 added methods documentation 2010-11-11 16:12:14 -05:00
scottjehl
17304461bf removed data theme 2010-11-11 16:12:00 -05:00
Todd Parker
06b383cbbf Content cleanup 2010-11-11 14:38:13 -05:00
Todd Parker
fed9911f08 Refined names for API pages 2010-11-11 14:34:12 -05:00
Todd Parker
98e09e7178 Merge branch 'master' of github.com:jquery/jquery-mobile 2010-11-11 14:26:07 -05:00
Todd Parker
db9e9c918e Combined settings and global config pages 2010-11-11 14:25:41 -05:00
scottjehl
c708859f55 added docs for media query helpers 2010-11-11 14:22:14 -05:00
Todd Parker
0e28ffe9a1 Added a few code style to demo css. Converted events api page to use DL markup 2010-11-11 14:06:47 -05:00
Todd Parker
34fefc02fc Merge branch 'master' of github.com:jquery/jquery-mobile 2010-11-11 13:53:23 -05:00
scottjehl
d8845f233b styling the dl 2010-11-11 13:43:05 -05:00