Commit graph

158 commits

Author SHA1 Message Date
toddparker
9a82e3c59e Missed fixing the home link path. Added another ../ 2011-07-28 12:02:55 -04:00
toddparker
5c603198e7 Created a new API docs format for people to help us populate. Started with just the select menu API docs to server as a template for others. Each plugin is now in a folder with a local nav between index (summary), options, methods, and events. 2011-07-28 12:00:36 -04:00
jacob4u2
c24b4d813b Typo in docs; if -> is, forms-select.html 2011-06-23 21:20:30 -05:00
scottjehl
13a22e3eec updated the footers in the new docs templates 2011-06-20 18:53:55 -04:00
scottjehl
f3e35d49dd more updates to the docs markup. getting close! 2011-06-20 18:53:55 -04:00
scottjehl
579f418c2e updated the rest of the navs to be local to their section. 2011-06-20 18:53:54 -04:00
scottjehl
ebf9bd8535 added navigation components to most docs pages 2011-06-20 18:53:54 -04:00
scottjehl
6980110d32 updated header themes 2011-06-20 18:53:54 -04:00
scottjehl
74b001f62e linked up js docs references properly 2011-06-20 18:53:54 -04:00
scottjehl
9ab7817b5b native forms example page was missing a meta viewport. 2011-06-18 08:16:49 -04:00
Scott Jehl
32d7fca682 Merge pull request #1685 from StevenBlack/NixDatepicker
Per discussions last week: removal of the experimental jQuery-UI-based Datepicker. Code can be found here: https://github.com/filamentgroup/jQuery-Mobile-Themed-DatePicker
2011-05-24 15:53:44 -07:00
scottjehl
8929ac33b9 Removed the ajaxLinksEnabled and ajaxFormsEnabled settings. These were deprecated in a4 and scheduled for removal. Automated link and form ajax handling can still be globally disabled via the ajaxEnabled option. 2011-05-24 16:08:30 -04:00
Steven Black
f2ad4e5fe2 Per discussions last week about the removal of the experimental jQuery-ui Datepicker.
* docs/forms/index.html: Removed reference to the jQuery-UI Datepicker which is too heavy for mobile.
* experiments/ui-datepicker folder: deleted since it is no longer referenced.

Signed-off-by: Steven Black <steveb@stevenblack.com>
2011-05-21 22:06:39 -04:00
scottjehl
8ba4c27300 Ya'll can scale your pages now. Fixes #1645. Note: we originally disabled user zooming to work around a bug in iOS that automatically zooms the page beyond the constraints of the viewport on orientation change. We are not working around this bug at all now, but you are free to include any meta tag you'd like, or better yet, consider this polyfill: http://www.blog.highub.com/mobile-2/a-fix-for-iphone-viewport-scale-bug/ 2011-05-17 17:28:19 -04:00
toddparker
51908bdaeb Updated the radiobutton page to fix the sample code that showed two data-role attributes on a single element. 2011-04-28 17:29:37 -04:00
scottjehl
d97a964884 been meaning to do this for a while. 2011-04-14 16:04:47 -04:00
scottjehl
91109ebbd0 better page titles 2011-03-31 12:56:47 -04:00
scottjehl
ee02a76279 self-submitting form demo. 2011-03-27 18:51:59 -04:00
John Bender
bb721aa48c Merge branch 'master' of github.com:jquery/jquery-mobile 2011-03-25 21:38:06 -07:00
toddparker
07be08c4b4 Inproved select docs and added optgroup and disabled option for native menus 2011-03-25 22:42:11 -04:00
John Bender
4fe0b29a0f Merge branch 'data-namespacing' 2011-03-25 18:46:00 -07: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
John Bender
63e8f6bfcb resolved merge conflicts and fixed 2 tests 2011-03-15 23:57:17 -07: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
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
scottjehl
19f5fd7cae changed the default namespace to "" and updated the docs/demos as such 2011-03-09 22:36:14 -05:00
scottjehl
3cae8f8bf0 caught a few more 2011-03-09 21:03:40 -05:00
scottjehl
77ac0f009a a few more non-namespaced attrs to bring over 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
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
tschaub
899e9581e9 P free hamster. 2011-02-16 05:55:21 +08: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
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
d76234b397 Content tweaks for form theme page, fixed a few broken links 2011-02-01 22:55:10 -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
John Bender
e35952346f whitespace correction for docs 2011-01-27 23:48:06 -08:00
John Bender
2dfa09bcf7 updated docs to include $.mobile.nativeSelectMenus 2011-01-27 23:42:56 -08:00
John Bender
3197f7e61a corrected a duplicate id which was causing the two similarly identified selects to have doubled menu page header titles 2011-01-27 22:50:40 -08:00
toddparker
5b7201ef48 Added documentation and demos for the new data-native="true" option that speeds up performance of selects by using the browser's native menu (thanks John Bender!) 2011-01-27 13:40:20 -05:00
scottjehl
b50d6a74c2 improved datepicker usage instructions and linked it up from the forms index under "experimental" 2011-01-26 20:48:25 -05:00
scottjehl
6a958ecba2 merge 2011-01-22 17:48:36 -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
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
scottjehl
3fb55aef0b fixed up some duplicate IDs 2010-12-23 14:50:01 -05:00
scottjehl
ce7ff992d6 Merge branch 'docs' of https://github.com/ehynds/jquery-mobile into ehynds-docs 2010-12-23 09:20:17 -05:00
John Bender
fa760da3bd docs updated with information about the slider keys 2010-12-22 23:53:44 -08:00
ehynds
cc0d982c5e documentation for multiple select functionality and list icon theming.
also fixed a CSS specificity bug where the display:block declaration on .ui-li was overriding the display:none declaration for the placeholder class.
2010-12-22 18:11:01 -05:00
ehynds
2c8c89ba9b Merge remote branch 'upstream/master' 2010-12-07 17:45:33 -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
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
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
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
scottjehl
aec0cbc946 docs updates 2010-11-11 18:47:21 -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
719608d0a7 Added link to demo css file to all docs pages 2010-11-11 14:15:42 -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
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
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
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
scottjehl
3699643726 duplicate id 2010-10-25 10:53:34 -04:00
scottjehl
5a69f753f3 documented *very* unique ID reminder. Fixes #187 2010-10-19 11:06:48 -04:00
John Resig
51c4f4a5e2 Disable links to API documentation. Will tackle this weekend. 2010-10-15 22:48:09 -04:00
scottjehl
cebea6f1c4 page title 2010-10-15 21:34:55 -04:00
PattyToland
2e11bf5540 edit 2010-10-15 21:13:51 -04:00
PattyToland
e5c8a100e1 edit 2010-10-15 21:12:33 -04:00
Todd Parker
2636e87e89 persistent demo cleanup 2010-10-15 17:58:40 -04:00
Todd Parker
10e8931c15 documented the form layout behavior for labels 2010-10-15 11:16:01 -04:00
Todd Parker
0f433d5c3d updated themes 2010-10-15 10:43:56 -04:00
Todd Parker
6084691c95 Trying a few color combos for headers to see if we want to set headers colors of different levels to liven it it. thoughts?
- form landing page = b (blue) header

- form basics = d (mid gray)
- form gallery = e (yellow)
- text inputs = c (light gray)
2010-10-14 20:43:16 -04:00
Todd Parker
7f5d317ff9 all new forms section with new demos and cleaned up code 2010-10-14 20:29:08 -04:00
Todd Parker
e0ed89f677 new forms docs 2010-10-14 17:42:12 -04:00