Commit graph

509 commits

Author SHA1 Message Date
scottjehl
fd821b7440 Merge branch 'select_multi' of https://github.com/ehynds/jquery-mobile into ehynds-select_multi 2010-12-22 10:05:40 -05:00
Kin Blas
5961818bb3 Fixed a couple of spots that had the following invalid markup:
<pre></code>
2010-12-16 11:15:43 -08:00
jzaefferer
e70c17d625 Extend nested listviews to accept more then just the title in parent list item. Currently requires predefined anchor to be present, based on discussion in ticket. Extended lists-nested.html to test both variants. Fixes #253 - only text nodes allowed in nested listview 2010-12-15 15:54:13 +01:00
Mitch Foley
df3bc91f80 renaming nobackbtn to backbtn. 2010-12-13 10:54:26 -05:00
ehynds
2c8c89ba9b Merge remote branch 'upstream/master' 2010-12-07 17:45:33 -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
008e7e4c37 changed to reference local js,css 2010-12-07 11:33:04 -05:00
ehynds
8118b77a6a documenting disabled options and optgroup support 2010-12-04 23:29:12 +08:00
ehynds
dc6bf52fff restoring doc 2010-12-04 09:07:59 -05:00
ehynds
bd845b3a17 arg 2010-12-04 09:06:04 -05:00
scottjehl
e765d21631 documented how to disable the hidePlaceholderMenuItems option in selectmenus 2010-12-03 11:38:47 -05:00
scottjehl
6dce87a2ac hide placeholder options in selectmenu overlays. Fixes #607 2010-12-03 11:32:48 -05:00
scottjehl
f9e25efeb6 Merge branch 'master' of github.com:jquery/jquery-mobile 2010-12-02 15:19:32 -05:00
Todd Parker
cc2fb7eb42 Actually updated to 1.4.4. Thanks Eric! 2010-12-02 12:27:48 -05:00
Todd Parker
df7de3f54d Updated jq script link to 1.4.4 on both pages. Also used CDN versions on the multi-page template. 2010-12-02 11:43:58 -05:00
scottjehl
69a91d0854 noted docs to-do 2010-12-01 17:05:28 -05:00
scottjehl
bc09540492 updated example code 2010-12-01 11:11:35 -05:00
scottjehl
7aafc9b669 documented auto-init (and prevention of auto-init) of form controls 2010-12-01 09:52:07 -05:00
scottjehl
90b469eb9e noted that the option should be set on mobileinit 2010-12-01 09:52:07 -05:00
scottjehl
5486f8e9e1 fixed typos 2010-11-30 10:20:20 -05:00
scottjehl
419787affe make sure submit button name/value is submitted with form values. Fixes #551 2010-11-29 10:09:26 -05:00
scottjehl
f56fe84245 fixed a docs typo 2010-11-18 22:56:40 -05:00
scottjehl
08e6e2f603 added quick documentation for degradeInputs 2010-11-18 22:40:18 -05:00
scottjehl
c636b774ab updated docs to include new button methods 2010-11-18 22:18:20 -05:00
scottjehl
c8654bfcfc updated docs to include new slider methods 2010-11-18 22:18:20 -05:00
scottjehl
909a0d0f08 removed transitions property from the configuration and updated docs to match. 2010-11-18 22:18:20 -05:00
Leon Brocard
42d20b4b08 Update a few remaining links from 1.0a1 to 1.0a2 2010-11-18 22:40:10 +08:00
Todd Parker
d7becdc728 Merge branch 'master' of github.com:jquery/jquery-mobile 2010-11-17 11:00:53 -05:00
Todd Parker
bf0a32f540 Updated docs from $.changePage() to $.mobile.changePage(). Fixes #488 2010-11-17 11:00:40 -05:00
Yuki KODAMA
b7b63f526e fixed docs for flip toggle switch widget 2010-11-17 19:33:07 +09:00
Yuki KODAMA
b93f5d200d fixed docs for slider widgets 2010-11-17 19:32:31 +09:00
kptdobe
c413b2f86f fixed doc: missing/invalid HTML tags and wrong paths 2010-11-16 22:42:02 +08:00
kptdobe
15e8fa11a5 fixed doc homepage 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
86005a8815 fixed the FF double scrollbar thingy 2010-11-11 19:58:14 -05:00
scottjehl
7c400eaef7 fixed the retina display for this demo 2010-11-11 19:56:18 -05:00
scottjehl
aca00ea8ec renaming for screen size 2010-11-11 19:09:11 -05:00
scottjehl
aec0cbc946 docs updates 2010-11-11 18:47:21 -05:00
scottjehl
058f0a867d closing tag 2010-11-11 17:50:30 -05:00
scottjehl
d3a0d33791 fixed up grids and navbar again - this time to automate the column count to number of children, or 'a' when greater than 5. data-grid attribute can be set to any grid letter to trump the automated counting. 2010-11-11 17:33:07 -05:00
scottjehl
78f342b5e0 fixed up the navbar and grid plugin logic. now supports up to 5 cols 2010-11-11 17:17:45 -05:00
scottjehl
014bbbcc4a typo 2010-11-11 17:17:45 -05:00
Todd Parker
36163120d6 Set header theme from e to default on form demo page 2010-11-11 17:14:49 -05:00
Todd Parker
e9d2c376fc added demo css file to api folder pages 2010-11-11 16:15:13 -05:00
Todd Parker
974986c449 Merge branch 'master' of github.com:jquery/jquery-mobile 2010-11-11 16:14:10 -05:00
Todd Parker
ca592cb4ac added demo css file ref to about 2010-11-11 16:13:46 -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
scottjehl
7d57af8ec4 added some bottom margin to dts 2010-11-11 16:01:26 -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
fab9034886 Less margin on h2's 2010-11-11 14:16:59 -05:00
Todd Parker
719608d0a7 Added link to demo css file to all docs pages 2010-11-11 14:15:42 -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
Todd Parker
2c63a48905 Updated default page theme example 2010-11-11 13:39:22 -05:00
scottjehl
30c8a4cd5e removed $.mobile.headExtras - useless 2010-11-11 13:38:05 -05:00
Todd Parker
cf88699ea0 Added links to about root index (was empty before) 2010-11-11 13:36:14 -05:00
Todd Parker
b60cfd213f Merge branch 'master' of github.com:jquery/jquery-mobile 2010-11-11 13:35:53 -05:00
scottjehl
17facff55d docs updates 2010-11-11 13:33:19 -05:00
Todd Parker
70f0897a34 Added folder of example glyphish icons 2010-11-11 13:11:46 -05:00
Todd Parker
583f14c518 Added example of a navbar in a header. 2010-11-11 12:59:54 -05:00
Todd Parker
66d53461b0 Added full icon positioning docs and examples and re-vamped the headers docs to include a navbar doc page with glyphish example. 2010-11-11 12:50:32 -05:00
Todd Parker
8e616aaa8e Fixed missing closing div in demo pages 2010-11-11 11:14:27 -05:00
Todd Parker
6ecfe3d5b3 Removed references to mobilize() 2010-11-11 11:02:46 -05:00
Todd Parker
2c1760482c Merge branch 'master' of github.com:jquery/jquery-mobile 2010-11-11 10:21:58 -05:00
Todd Parker
5c2b85086c Added "Alpha 2" to the banner, fixed blotchy page bg artifacts 2010-11-11 10:21:44 -05:00
Todd Parker
6a97fae07f Added a "2" to the alpha 2010-11-11 10:02:47 -05:00
scottjehl
38d31498a4 doc updates 2010-11-11 09:58:46 -05:00
scottjehl
25ef2df462 doc updates 2010-11-11 09:54:56 -05:00
scottjehl
2c3d8cf11c update version png 2010-11-11 09:18:26 -05:00
scottjehl
f92d5fa7f8 themed demo 2010-11-10 23:55:43 -05:00
scottjehl
49574cc7be changed theme 2010-11-10 23:42:08 -05:00
scottjehl
e8bd78bd27 fixed theming so data-theme and data-track-theme attrs work 2010-11-10 23:40:09 -05:00
scottjehl
563169def9 made sure data-icon attrs work on radio and checks. Fixes #423, Fixes #424 2010-11-10 23:19:41 -05:00
scottjehl
049afd4568 improved defaults and added a demo page showing that all button data attrs work on selects too 2010-11-10 23:04:10 -05:00
Todd Parker
a0940dd1f0 fixed a few form id's for better syntax 2010-11-10 14:57:48 -05:00
scottjehl
12b1bb4fa2 only degrade input types that conflict with our replacement UI control. For now, just search and range. Fixes #415, Fixes #420 2010-11-10 11:22:56 -05:00
scottjehl
8f9aee12a6 removed js/all redirect. updated files to use js/ 2010-11-09 17:57:26 -05:00
Todd Parker
644ef0b778 Re-org of the linking example page to emphasize the ajax vs. non-ajax behavior. 2010-11-09 14:11:49 -05:00
Todd Parker
a19f77b5b2 Cut down the performance page to 500 to be a more reasonable test. Wasn't loading reliably over 3G at 1,000. 2010-11-09 13:32:26 -05:00
Todd Parker
9165a054ab Added link formatting example page, moved from lists to pages folder. 2010-11-09 10:52:35 -05:00
Todd Parker
6e62cb9e74 Made each transition link a data-rel="dialog" so it's not tracked in history. Once you played with transitions you were in a deep history stack before. 2010-11-09 10:03:51 -05:00
Todd Parker
2b36b46cc1 Text edits and content re-org in the button icon page to incorporate Oli's edits from here: 5ed44fbbe5
...and a few more improvments.
2010-11-09 10:00:34 -05:00
Todd Parker
edf72f5a7e Updated the split button transition and fixed some broken paths. 2010-11-05 16:32:30 -04:00
Todd Parker
358501409b Added documentation about how to close dialogs and how they aren't tracked in history. 2010-11-05 13:00:06 -04:00
scottjehl
93ba5c4a87 fixed some comment typos. thx @warzauwynn 2010-11-04 22:07:21 -04:00
scottjehl
f29b85a149 converted collapsible to the widget factory. API change: data-state="collapsed" is now data-collapsed="true". Updated markup in demos to support change. Fixes #372 2010-11-04 21:32:28 -04:00
Kin Blas
a47a7035bb Moved the data-filter attribute from the content element to the listview element where it should be. 2010-11-04 16:05:49 -07:00
scottjehl
f6dbe5554c Welcome back, Valencia. Fixes #352 2010-11-04 18:50:43 -04:00
Kin Blas
b3ec50b2e3 Removed redundant setting of $.activePage that I added in my previous checkin.
Updated lists-performance.html so that it is a list of 1000 items per Todd.
2010-11-04 15:15:49 -07:00
Todd Parker
79fdf8058f added link to list format page 2010-11-04 12:17:33 -04:00
Todd Parker
f16a75a660 Documented split list icon and theme options. Updated split page demo to set the icon and theme on secondary button to illustrate the issue. Also linked the button to a new dialog page (it was linked to the same page as the main item before) 2010-11-04 12:16:31 -04:00
Jonathan Sharp
b13ddf345c Fixed typo (changed ther to there) 2010-11-04 06:58:01 +08:00
Todd Parker
6737a69d95 fixed typo 2010-11-03 14:36:08 -04:00
Todd Parker
c1f8660aa1 Added an example of a slider with a min of 500, max of 5,000 and value of 2,500 to test and demonstrate a slider that isn't 1-100. 2010-11-03 13:50:43 -04:00
Todd Parker
f8a0812c20 added 400 item list 2010-11-02 18:16:08 -04:00
Todd Parker
522e1ebfb1 added 400 item list to docs so it's available for people to test 2010-11-02 18:15:48 -04:00
scottjehl
cba41eb1d2 updated content 2010-11-02 01:23:08 -04:00
scottjehl
bb54ee9645 demo content 2010-11-02 00:54:23 -04:00
scottjehl
dc74945b00 updates to content 2010-11-02 00:38:31 -04:00
scottjehl
717254da01 fixed some css/js paths 2010-11-02 00:01:25 -04:00
scottjehl
966e6bc4d2 updated form explanation 2010-11-01 23:56:53 -04:00
scottjehl
5e5f9387bf implemented simple automated form submission handling for get and post requests. added demo page which includes more information about how it works. 2010-11-01 23:56:42 -04:00
scottjehl
bc1d0ba08e set utf-8 2010-11-01 21:46:29 -04:00
Jonatan Littke
47dcb7747b Fixed broken <code> element. 2010-10-28 01:34:45 +08:00
scottjehl
3699643726 duplicate id 2010-10-25 10:53:34 -04:00
scottjehl
e736caebfe Removed the ajaxClick function and moved its logic into the live click event handler, where it is now refactored and simplified. Thx to Jeffrey Way for ideas that went into this refactor.
Also, clicks that are triggered on anchors will now be able to make a new http request, which improves listview behavior when clicking LIs that resolve to external urls.

Included in commit is a new demo/test page with various link types to make sure they behave as expected.

Fixes #272, Fixes #264
2010-10-23 17:24:06 -04:00
scottjehl
25c2ce5ce6 added support for grouped collapsibles that make accordions. Parent element just needs a data-role of collapsible-set. Fixes #87, Fixes #178 2010-10-23 10:20:06 -04:00
scottjehl
ceca38b8e0 fixed css references in markup 2010-10-23 09:01:31 -04:00
scottjehl
e71cb716a2 Merge branch 'master' of github.com:jquery/jquery-mobile
Conflicts:
	js/jquery.mobile.js
2010-10-21 16:47:32 -04:00
scottjehl
cb13c2f84a updated to use new changePage function, which no longer has a "from" arg 2010-10-21 13:12:25 -04:00
John Resig
bd541ce267 Move the UL test into the speed directory. 2010-10-21 11:29:17 -04:00
Todd Parker
504b3f4b0e set theme to "d" to see if gradients are the issue. 2010-10-20 21:39:42 -04:00
Todd Parker
f317f398d9 Added a 400 item list to test device performance. 2010-10-20 21:34:30 -04:00
scottjehl
ed07fbc8ad added events documentation. 2010-10-20 16:25:11 -04:00
Todd Parker
d233d26209 fixed css/js paths 2010-10-20 15:54:44 -04:00
Todd Parker
8816dd3383 typo for 3 column grid. fixes:
http://github.com/jquery/jquery-mobile/issuesearch?state=open&q=docs#issue/229
2010-10-20 15:46:02 -04:00
Todd Parker
95d382cb9c fixed a few broken links. 2010-10-20 15:06:20 -04:00
scottjehl
a0b814e26a moved appends over to use $.pageContainer 2010-10-20 12:09:03 -04:00
scottjehl
453989e1bf removed home link 2010-10-20 12:06:26 -04:00
scottjehl
5a69f753f3 documented *very* unique ID reminder. Fixes #187 2010-10-19 11:06:48 -04:00
scottjehl
44676bd1b8 Merge branch 'master' of http://github.com/gabehollombe/jquery-mobile 2010-10-19 10:28:00 -04:00
Gabe Hollombe
1fccf9918b typo fix: change Ajax site and applications to Ajax sites and applications 2010-10-19 21:59:32 +11:00
Gabe
10ab57a1e4 fix btweent to between 2010-10-19 13:34:31 +08:00
marek
4e36f943d1 typos in button-icons 2010-10-19 13:34:01 +08:00
Gabe
3a7cf2e1f8 fix btweent to between 2010-10-19 16:02:12 +11:00
scottjehl
917e32fc22 updated docs on new data-back attr 2010-10-18 18:20:47 -04:00
Todd Parker
6b03498937 page doc edits 2010-10-18 17:42:07 -04:00
scottjehl
d21cac81e9 bad url. Fixes #197 2010-10-18 13:48:00 -04:00
Burin Asavesna
3d224c3877 fix minor typos on doc-pages.html 2010-10-18 13:05:37 +08:00
PattyToland
e3c3111051 edits 2010-10-15 23:22:11 -04:00
Todd Parker
e39e1adcf4 added header theme and message re: no docs yet 2010-10-15 23:21:46 -04:00
Todd Parker
21c4217c89 text edits 2010-10-15 23:21:46 -04:00
Todd Parker
30fbfe3057 removed header navbar 'cause it's broken 2010-10-15 23:21:46 -04:00
Todd Parker
093263a4fb removed asides from list examples because of margin issues 2010-10-15 23:21:46 -04:00
PattyToland
6561995a3f edit 2010-10-15 23:19:27 -04:00
PattyToland
51ac0fb672 edit 2010-10-15 23:18:09 -04:00
PattyToland
efaf3c8839 edits 2010-10-15 23:17:40 -04:00
PattyToland
6aa096a786 edits 2010-10-15 23:14:21 -04:00
PattyToland
12e6bebda0 edit 2010-10-15 22:58:17 -04:00
PattyToland
7ea792be0d edit 2010-10-15 22:57:07 -04:00
PattyToland
3102a75d63 edit 2010-10-15 22:49:13 -04:00
John Resig
51c4f4a5e2 Disable links to API documentation. Will tackle this weekend. 2010-10-15 22:48:09 -04:00
PattyToland
8098bf0256 edit 2010-10-15 22:45:21 -04:00
PattyToland
ee23c99e8a edit 2010-10-15 22:39:31 -04:00
PattyToland
c37bdd6727 edits 2010-10-15 22:37:21 -04:00
PattyToland
3ad21a2a9a edits 2010-10-15 22:21:13 -04:00
PattyToland
5e3e5abb1d edits 2010-10-15 22:20:00 -04:00
PattyToland
5805f5e70b edit 2010-10-15 22:05:07 -04:00
PattyToland
fd7bdc0d68 edits 2010-10-15 22:02:23 -04:00
scottjehl
a7a1965cdf removed hard back links 2010-10-15 21:39:47 -04:00
PattyToland
3483f81c41 edits 2010-10-15 21:39:01 -04:00
PattyToland
0fd39befa7 edits 2010-10-15 21:37:22 -04:00
PattyToland
0be6ab1012 edit 2010-10-15 21:36:01 -04:00
scottjehl
c48989e0b3 took a crack at a quick a11y blurb. There's a ton more we could say here. 2010-10-15 21:34:55 -04:00
scottjehl
cebea6f1c4 page title 2010-10-15 21:34:55 -04:00
PattyToland
3bf10f44b7 edits 2010-10-15 21:34:12 -04:00
PattyToland
8b6b91b202 edits 2010-10-15 21:32:41 -04:00
PattyToland
ec76396a2b edits 2010-10-15 21:31:26 -04:00
PattyToland
0aa975e8d8 edits 2010-10-15 21:30:02 -04:00
PattyToland
3eb631cdf4 edits 2010-10-15 21:29:09 -04:00
PattyToland
4943d08893 edits 2010-10-15 21:27:32 -04:00
PattyToland
a3b2a0cee1 content edits 2010-10-15 21:21:28 -04:00
PattyToland
2e11bf5540 edit 2010-10-15 21:13:51 -04:00
PattyToland
e5c8a100e1 edit 2010-10-15 21:12:33 -04:00
PattyToland
10223bc9e5 edits 2010-10-15 21:10:12 -04:00
PattyToland
55291a33bd edits 2010-10-15 21:09:05 -04:00
PattyToland
7492fe6066 edits 2010-10-15 21:07:11 -04:00
PattyToland
1aa1740513 edits 2010-10-15 21:01:51 -04:00
PattyToland
8a20d6353c edits 2010-10-15 20:58:48 -04:00
PattyToland
33d00a21e5 edits 2010-10-15 20:48:30 -04:00
PattyToland
2187f12ac7 edits 2010-10-15 20:47:24 -04:00
PattyToland
46633e1e45 edits 2010-10-15 20:42:27 -04:00
PattyToland
825871a752 edits 2010-10-15 20:40:29 -04:00
PattyToland
e4ad1e1eb3 edits 2010-10-15 20:34:23 -04:00
PattyToland
206f56e526 edits 2010-10-15 20:32:53 -04:00
PattyToland
749c97a3c4 edits 2010-10-15 20:32:02 -04:00
PattyToland
faa79e62e0 edits 2010-10-15 20:31:29 -04:00
PattyToland
e836e3f9a0 edits 2010-10-15 20:30:22 -04:00
PattyToland
1a7e687691 edits 2010-10-15 20:24:33 -04:00
PattyToland
eb76e53f60 edits 2010-10-15 20:22:41 -04:00
PattyToland
b28acb814b content edits 2010-10-15 20:18:30 -04:00
scottjehl
5de857d6be edits to persist pages 2010-10-15 20:15:49 -04:00
scottjehl
8a140d1de2 Kept Patty's description, only 3 pages now though. 2010-10-15 20:07:52 -04:00
PattyToland
443204c29e edits 2010-10-15 20:07:12 -04:00
PattyToland
db2daaa7c3 edits 2010-10-15 20:05:46 -04:00
PattyToland
abac4d0583 content edits 2010-10-15 20:05:03 -04:00
PattyToland
3868b03128 Merge branch 'master' of github.com:jquery/jquery-mobile 2010-10-15 20:02:07 -04:00
PattyToland
474a810d96 content edits 2010-10-15 20:01:55 -04:00
Todd Parker
b7b2c44a67 Merge branch 'master' of github.com:jquery/jquery-mobile 2010-10-15 20:00:28 -04:00
Todd Parker
e60216a1df added more icons examples 2010-10-15 20:00:21 -04:00
Todd Parker
30f11b9f60 added boilerplate pages 2010-10-15 20:00:05 -04:00