Commit graph

335 commits

Author SHA1 Message Date
scottjehl
39bf32394c fixes to no-text icon presentation 2010-10-05 23:47:48 -04:00
scottjehl
a8edc991da small cleanup on margins and such 2010-10-05 23:06:18 -04:00
scottjehl
9a9d47e550 removed an unnecessary wrapper 2010-10-05 23:00:33 -04:00
scottjehl
71763d3dfa pretty rough, but here's a functional attempt at rounded-corner switches 2010-10-05 22:57:13 -04:00
scottjehl
69f446d945 preliminary support for tap switching 2010-10-05 21:24:59 -04:00
scottjehl
0128ee46a1 trigger beforepageshow on first pageload as well 2010-10-05 21:24:36 -04:00
scottjehl
50f9c363e7 brought the corners back on regular sliders 2010-10-05 19:23:58 -04:00
scottjehl
30ba455514 adjusted margins 2010-10-05 19:21:20 -04:00
scottjehl
6a885f88d4 refactored switch sliders to be more iPhone like. 2010-10-05 19:18:39 -04:00
scottjehl
2fe29a1d2b refactored switch sliders - more iPhone-like in behavior and appearance now. 2010-10-05 19:17:47 -04:00
scottjehl
c5ceff175b made the single checkbox into a controlgroup. Because it looked better. 2010-10-05 18:35:21 -04:00
scottjehl
82c041b23d controlgroup only gets innerwrapped if there's a controlgroup label (legend element) 2010-10-05 18:34:41 -04:00
scottjehl
9ccead23b6 Merge branch 'master' of github.com:jquery/jquery-mobile 2010-10-05 18:28:18 -04:00
scottjehl
e5207475a9 renamed the classes to "switch". For sliders built from selects with more than 2 options, we can use the name "select". currently, only 2 options are supported for select sliders 2010-10-05 18:28:03 -04:00
scottjehl
722fb14f5b needed a .length in the condition 2010-10-05 18:17:27 -04:00
scottjehl
5008c95fed tightened up the offsets a bit 2010-10-05 17:46:00 -04:00
scottjehl
adbdf7abc6 adjustments to spacing, layout management, consistency across elements 2010-10-05 17:42:11 -04:00
jzaefferer
de9e4bac92 Updated converter experiment. Now using localStorage to store selected conversions, with a first version for editing. 2010-10-05 23:38:31 +02:00
scottjehl
e03d33ac9e added inner wrapper for toggling layout in wider resolutions 2010-10-05 17:33:56 -04:00
scottjehl
5467762a3b added fieldset selector for specificity 2010-10-05 17:16:49 -04:00
scottjehl
4a7b7a0b2e made sure icons aren't present in horizontal groups 2010-10-05 17:12:54 -04:00
scottjehl
f1403fbfc4 added a checked attr 2010-10-05 17:08:45 -04:00
scottjehl
03292aad53 brought back the check radio icons 2010-10-05 17:08:37 -04:00
scottjehl
ef77c88e8d removed an extra strong tag 2010-10-05 17:01:40 -04:00
scottjehl
83f6ff9eef added support for fullscreen data attr on pages. When present, child headers and footers will be absolute positioned and invisible when hidden 2010-10-05 16:08:11 -04:00
scottjehl
0de4e457be changed setTop logic so it works for abs or rel positioning for both headers and footers (rather than just footers) 2010-10-05 15:36:10 -04:00
scottjehl
ab0e3324e9 removed some old sample content files 2010-10-05 15:29:06 -04:00
scottjehl
b5eca5bd2a Renamed Globalnav "Navlist". Fixed #95 2010-10-05 14:06:28 -04:00
scottjehl
55f9a18cce changed to use both touchmove and scroll. Sometimes scroll is triggered without a touchevent, such as tapping the top chrome on iPhone. 2010-10-05 13:49:36 -04:00
scottjehl
deaf0d94d9 refactored the event handling for touch and scroll 2010-10-05 11:58:55 -04:00
scottjehl
6a12dcc3be iconPos to iconpos. 2010-10-05 10:58:58 -04:00
scottjehl
f1f5102a23 removed resize and orientationchange event handler, as it fired all the time on iPhone. geez. 2010-10-04 20:18:32 -04:00
scottjehl
60d256c4b2 fixed toolbars are fixed toolbars are fixed 2010-10-04 20:09:10 -04:00
scottjehl
9b810283a6 triggered pageshow on first page load (prevPage will be an empty jq obj) 2010-10-04 19:17:54 -04:00
scottjehl
ecbe18d809 make sure stickyfooter is defined before checking length 2010-10-04 19:14:19 -04:00
scottjehl
dbd5e6cfb7 removed calls to jQuery.fixedToolbars.show(). to be moved to fixedheaderfooter plugin 2010-10-04 19:05:22 -04:00
scottjehl
ced22f6962 Sticky footers
Tag a footer div with data-id="foo" and it'll stay visible when transitioning to another page that has a footer of the same data-id.

Fixed #72
All proposed changes above are either implemented, or covered through alternate means.
2010-10-04 19:00:30 -04:00
scottjehl
9c49ae13fd moved the portion where the TO page is appended to body to before the "beforepageshow" event is fired. 2010-10-04 18:25:11 -04:00
scottjehl
113f09f6c9 added two events: beforeload and load.
These are triggered on a ui-page before and after mobilize is executed on a newly loaded page.

Fixed #75
2010-10-04 18:00:31 -04:00
scottjehl
9be9ab6612 Added 4 events regarding page show and hide:
* beforepageshow
* beforepagehide
* pageshow
* pagehide

All are triggered before and after the pageChange function runs.
The event.target will always be a "ui-page" div, triggered on either the showing or hiding page.

The second argument passed to the callback function contains either a prevPage or nextPage property, referencing a jQuery object containing the opposite page.
2010-10-04 17:46:58 -04:00
scottjehl
faef8e6300 Comment no longer relevant. Could be thx @paulirish tho! 2010-10-04 17:01:14 -04:00
Kin Blas
02571b1945 Fix for issue 90 - customSelect displays value in button control instead of the option label.
- Added code to extract text for the currently selcted option index.
2010-10-04 13:35:59 -07:00
Kin Blas
349bcb190f Added textfield types tel, url, and email to the selector list of customTextInput(). The HTML5 spec says these are also represented by textfields. 2010-10-04 13:11:41 -07:00
Kin Blas
83c46b1f79 Fix for issue 83 - customSelect() expects its containing page to be mobilized before it is invoked.
- Added code to mobilize that processes page and content roles prior to form element processing. I left the code that processes page and content roles in the main processing loop just in case pages/content are injected dynamically by other roles.
2010-10-04 13:03:54 -07:00
scottjehl
44f2f147f1 added icon data attrs, as they're now necessary 2010-10-04 15:36:55 -04:00
scottjehl
9d54d5c167 just a simple static progressbar, for future reference 2010-10-04 15:31:03 -04:00
scottjehl
ec4d7cb393 Merge branch 'master' of github.com:jquery/jquery-mobile 2010-10-04 14:33:24 -04:00
scottjehl
f1e5ed8ad4 I made it into a snake. 2010-10-04 14:26:57 -04:00
scottjehl
ecbe90c56a removed unnecessary rule 2010-10-04 14:22:38 -04:00
Scott González
bc0c972c07 Added filtered list view example (will be turned into an extension for list views). 2010-10-04 13:58:02 -04:00