Commit graph

91 commits

Author SHA1 Message Date
jzaefferer
45aeb9985b Converter demo: Fix edit mode to generate list; fix Cancel and Add buttons to when adding new conversions 2010-12-04 14:32:14 +01:00
scottjehl
1c5236be6c fixed the themeswitcher 2010-12-03 18:12:44 -05:00
scottjehl
e4f55d3c91 fixed datepicker static example 2010-12-02 15:19:53 -05:00
Kin Blas
33602a4dfd Implemented view paging for the scrollview. This feature is only enabled for horizontal and vertical scrollviews. To use, pass "xp" or "yp" for the @data-scroll attribute.
Fixed a typo/bug in scrollview.js that was causing the paging bool to be set improperly.

Turned on scrollview paging in scrollview-direction.html.

Items still left to do:

- Code refactoring/cleanup.
- Modify the code so that scroll offsets are stored as positive values. This will make it easier for folks to understand.
2010-12-02 09:47:46 -08:00
Kin Blas
63627e529f Fixed some copy/paste typos in the nested sample.
Got rid of some test code in the direction sample.
2010-12-01 14:57:28 -08:00
Kin Blas
39a9681d55 Implemented support for nested scrollviews, scroll propagation, and direction locking. To make a div scrollable use:
data-scroll="x|y|true"
2010-12-01 14:04:54 -08:00
scottjehl
9853fa9252 added a quick google maps example - needs some more love when we have time! 2010-12-01 11:55:35 -05:00
jzaefferer
93ac6f9b05 Converter experiment: Fix theme for search field 2010-11-26 15:23:22 +01:00
scottjehl
d56380fc22 refactor of jquery.mobile.core.js. Moved all of the page navigation model related scripting into jquery.mobile.navigation.js. This includes event handling for click, submit, and hashchange, all of the base tag management, path management, active link class handling, etc. All existing core tests are passing, and all demos work as expected. More tests are needed in core, and this refactor should make those tests easier to write. 2010-11-25 06:13:51 -05:00
scottjehl
d61ea68bfd tweaks to the demo css, markup 2010-11-22 12:30:32 -05:00
scottjehl
416cf38de5 fixed some bugs in the demo 2010-11-22 11:50:19 -05:00
scottjehl
47ca4d5962 removed unnecessary print from demo 2010-11-21 21:55:14 -05:00
scottjehl
0884d87709 half built demo - more to do 2010-11-21 21:51:26 -05:00
Kin Blas
dbdfd23541 Initial checkin of experimental support for momentum scrolling. We'd really like native browser support for sub-page scrolling, but until then, we need something.
This version supports simulated scrolling via the CSS3 transform property by default, but also supports an option for positioning the old-fashioned way with top and left properties.

Still some code clean-up to do, but folks can start playing with it.

Some items/issues left to look into:

- Experiment with event delegation so we can implement nested scrollviews.
- Implement scroll direction locking.
- Decide whether to conditionally inject clip/view markup.
- Decide on final ui class names.
- Decide on how scrolling behavior is actually invoked. (data-* attribute or class)
- Decide on final set of notifications we'll need to fire off.
- Add an API so that scroll position can be adjusted after a resize/orientation change.
- Documentation that describes potential problems with performance, memory usage, etc, and workarounds.
2010-11-18 15:12:27 -08:00
scottjehl
4db0734008 fixed themeswitcher a little bit 2010-11-11 20:31:17 -05:00
scottjehl
bffd9a991b needed $.mobile.activePage 2010-11-11 18:54:50 -05:00
scottjehl
055bf14e3f moved changePage, pageLoading, and silentScroll methods to $.mobile obj. 2010-11-11 15:03:40 -05:00
scottjehl
8f9aee12a6 removed js/all redirect. updated files to use js/ 2010-11-09 17:57:26 -05:00
scottjehl
b753de18b5 capitalize 2010-11-09 15:38:07 -05:00
scottjehl
04529e7498 fixed demo 2010-11-09 15:36:23 -05:00
scottjehl
f6dbe5554c Welcome back, Valencia. Fixes #352 2010-11-04 18:50:43 -04:00
scottjehl
a4ae3b9c4c removed ajaxform plugin and experiments 2010-11-01 23:53:52 -04:00
scottjehl
bc1d0ba08e set utf-8 2010-11-01 21:46:29 -04:00
scottjehl
d8c574dc0e fixed up the demo so it works with our current events anyway 2010-10-26 09:26:22 -04:00
scottjehl
4d3020d414 added px suffix to all media-min/max classes. Updated CSS usage to match. 2010-10-25 10:45:30 -04:00
scottjehl
f806fc07d7 updated css to use min-width classes in place of media queries 2010-10-22 14:46:27 -04:00
scottjehl
a0b814e26a moved appends over to use $.pageContainer 2010-10-20 12:09:03 -04:00
jzaefferer
939a557d67 Converter demo: Update to use the new refresh method in listview, along with some small tunings. 2010-10-20 06:31:02 +02:00
jzaefferer
b43882f268 Converter demo: Updating list item template. 2010-10-19 19:49:54 +02:00
jzaefferer
205662015c Converter demo: Slight markup improvement. 2010-10-19 19:48:02 +02:00
Todd Parker
1144425325 more revisions to converter typography 2010-10-19 12:33:17 -04:00
Todd Parker
c2726c865a lowercased "to" 2010-10-19 11:52:36 -04:00
Todd Parker
4deaa4a33a re-vamped statics for converter demo. on the edit screen, clicking an existing converter should drill you to a similiar page to "add" to let you edit the row. we should start off with at least 3 presets. 2010-10-19 11:48:17 -04:00
jzaefferer
fcfeb56c6b Converter demo: Ammending previous commit for input-to-text conversion. 2010-10-18 23:50:10 +02:00
jzaefferer
8796779e5e Converter demo: Changing output to text (instead of inputs). 2010-10-18 23:47:44 +02:00
Todd Parker
fc6de5823d fixing layout 2010-10-18 17:42:07 -04:00
John Resig
6381413192 We'll have to go with the old URL for the demo, for now, jsut so that something works. 2010-10-15 18:06:11 -04:00
scottjehl
6cc749023e renamed Dobson theme "Valencia" 2010-10-15 17:10:38 -04:00
John Resig
053808fe7b Make the themeswitcher URL relative. 2010-10-15 16:30:04 -04:00
scottjehl
a424e4428d edits to themeswitcher 2010-10-15 11:34:33 -04:00
scottjehl
721ea2481d Merge branch 'master' of github.com:jquery/jquery-mobile 2010-10-13 14:22:13 -04:00
scottjehl
1fa820f85f don't remove themes on switch. 2010-10-13 14:22:02 -04:00
Todd Parker
42e26a509f adjusted theme letter 2010-10-13 13:50:13 -04:00
scottjehl
18a17dd6d9 changed themeswitcher listview to inset 2010-10-13 13:37:33 -04:00
scottjehl
0651d90ead Added a theme switcher widget. Written as a bookmarklet, but only used in a new "switch theme" button on the index page. 2010-10-13 13:29:18 -04:00
scottjehl
d5cbcf755b Created a themes directory and moved all CSS and images there.
Edited the PHP combiner and .htaccess logic to accommodate this change, as well as allowing manifest files to use a "../" when referencing files, which will be handy when adding themes that don't include structural files yet.

Modified all HTML files to point to /themes/default for their theme.
2010-10-13 13:26:23 -04:00
jzaefferer
a21b4f34b2 Fixed converter demo. 2010-10-13 10:30:54 +02:00
Todd Parker
17b1040df4 moved to experiements 2010-10-12 18:25:14 -04:00
scottjehl
b11a45f615 switched up padding and margins on content div. Now it will get 15px padding, unless its a fullscreen page.
Inset listviews have no margin now, and regular listviews have -15px margins. Also, collapsibles now have no padding.

Updated HTML to remove ui-body classes for content divs, to match these changes.

Fixes #161
2010-10-12 15:50:28 -04:00
scottjehl
091c00a9cf removed media attrs in markup. We can do this internally in the css if necessary, but in general, this css only applies to js-generated classes anyway. 2010-10-12 15:14:07 -04:00