Commit graph

29 commits

Author SHA1 Message Date
scottjehl
263193f490 Moved autoinit calls to after widgets. Made it so auto init selectors use the initSelector option, so that it can be configurable. 2011-07-27 18:42:16 -04:00
scottjehl
e07c40e3d0 exposed automatic initialization selectors on most widgets that expose options through the widget factory. Option name is "initSelector" 2011-07-26 14:22:08 -04:00
scottjehl
fdb77bfa52 changed new (undocumented) "enhance" event to "create" to better match our existing event name conventions 2011-07-22 09:05:55 -04:00
scottjehl
64e6ef0e72 bound widgets to the "enhance" event, in addition to the pagecreate event. The enhance event allows developers to enhance the contents of an html fragment by triggering "enhance". 2011-07-19 22:44:03 -04:00
scottjehl
2a6c7fc1b9 This commit decouples all widgets from the page plugin so that they can be used ad-hoc.
- Internally, each plugin self-initializes by binding to the pagecreate event.

- Unit tests have been added and adjusted to support some internal changes involved in this commit.

- In the process, the portions of the page plugin that were used to enhance the header,content,and footer sections of a native-app style page layout are now located in jquery.mobile.page.sections.js.

- No public API options have changed, except that the page plugin no longer has options for keepNative, and degradeInputs, as plugins now handle these internally (keepNative was never documented, and degradeInputs only affected slider, so it lives there now. Page options related to the page sections are now located in the page.sections script, but they are still configurable via the page plugin's options api.

- Make, Ant, and index files are updated with a new load order for all JS files.
2011-07-19 22:25:23 -04:00
Rick Waldron
6b1d18b55e jQuery core style guide conformance: jquery.mobile.navbar.js-2 2011-06-29 09:06:18 -04:00
Ghislain Seguin
595a2371f2 Coding standards 2011-06-28 22:17:41 -07:00
Rick Waldron
0750fc2e3b jQuery core style guide conformance: jquery.mobile.navbar.js 2011-06-28 21:38:41 -04:00
Kin Blas
1f2c7fd537 Merge branch 'master' into fastclick
Resolved Conflicts:
	js/jquery.mobile.navbar.js
2011-03-29 09:03:05 -07:00
scottjehl
8fa56b6e85 Got the sticky footers working again. Markup change noted in first page of demo. Fixes #850 2011-03-28 18:30:55 -04:00
jblas@adobe.com
729cda075a Merge branch 'master' into fastclick
Resolved Conflicts:
	js/jquery.mobile.buttonMarkup.js
	js/jquery.mobile.event.js
	js/jquery.mobile.forms.checkboxradio.js
	js/jquery.mobile.forms.select.js
	js/jquery.mobile.listview.js
2011-03-27 21:00:22 -07:00
scottjehl
7503f62a10 changed our two new custom data helper names to jqmData() and :jqmData() 2011-03-25 17:50:40 -04:00
Kin Blas
db89e1f24d Switch find/filter selector calls over to using the new :jqdata() pseudo selector. 2011-03-22 13:31:17 -07:00
scottjehl
ce34ece257 namespaced data- attrs to $.mobile.ns (defaults to "jq-") throughout the JS 2011-03-09 20:47:44 -05:00
Kin Blas
6414e35cee Convert checkbox/radio and navbar over to virtual mouse events. 2011-03-09 12:37:20 -08:00
scottjehl
a1cb31a2c7 navbar removes active state but doesn't apply new one. Now it does. Useful in js-generated links. Fixes #669 2011-01-21 16:20:33 -05:00
scottjehl
93179f9a3d updated comment about license to match other jQuery projects - MIT "or" GPL 2010-11-19 22:47:47 -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
5aa980fdb4 fixed a bug with icon positioning 2010-11-11 17:17:45 -05:00
scottjehl
d498e20aca typo on the data-iconpos check 2010-11-11 13:33:19 -05:00
scottjehl
a24196e550 dolla dolla bills y'all.
Fixes #126, Fixes #346
2010-11-11 10:50:28 -05:00
scottjehl
356308e6b7 updates to comments 2010-11-09 19:55:52 -05:00
scottjehl
c242604ec0 rewrote navbar with widget factory 2010-10-27 21:58:00 -04:00
scottjehl
f32d9dddc1 click instead of tap 2010-10-22 19:00:22 -04:00
scottjehl
7c7fffabcf removed the "MORE" nav functionality - too buggy. Maybe later. or not. 2010-10-15 20:07:52 -04:00
scottjehl
0ec600c1b3 Improved and expanded ARIA coverage to more components, including landmarks on common top-level page elements. Fixes #137 2010-10-10 21:17:49 -04:00
Scott González
74a66af37b Converted $.mobilize to $.fn.page (and $.mobile.page via widget factory). 2010-10-09 14:34:21 -04:00
scottjehl
a8f1edc106 remove hash-setting functionality. Now expanded globalnavs are not deep-linkable.
Fixes #84
2010-10-09 01:08:13 -04:00