Commit graph

137 commits

Author SHA1 Message Date
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
Scott González
cf4e3969f0 Removed console.log() calls. 2010-10-12 13:57:14 -04:00
Scott González
aa7e5c8139 Converter demo: coding standards. 2010-10-11 11:17:39 -04:00
Scott González
d0d9218f6e Converter demo: Don't try to destroy pages that haven't been initialized. 2010-10-11 08:23:26 -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
137193640d renamed folder to "navbar" 2010-10-09 08:30:06 -04:00
scottjehl
4d9c06452e a few more navlist instances 2010-10-09 01:10:28 -04:00
scottjehl
db9f34e92a removing home links - auto-back links will work in their place 2010-10-08 23:10:56 -04:00
jzaefferer
97d66cc233 Converter demo: Cleanup 2010-10-08 13:01:35 +02:00
jzaefferer
281ba28317 Converter demo: Added ability to remove individual conversions. Removed distance defaults until those can be added by hand. 2010-10-08 12:59:20 +02:00
jzaefferer
044b54df2f Converter demo cleanup. 2010-10-08 12:34:53 +02:00
scottjehl
748d7c323c moved installed app assets to experimental 2010-10-07 18:37:10 -04:00
scottjehl
3b1188134d a few more files needed the media query fix 2010-10-07 16:10:00 -04:00
scottjehl
de53cfb930 Made all css and JS rely upon media query support. ("only all"). We can go back to the previous system, but so far, this seems to create a better divide than our previous support tests provided. 1-person discussion here: https://github.com/jquery/jquery-mobile/issues/#issue/29 2010-10-07 15:15:59 -04:00
scottjehl
8cdd34be2b added files that went with the photos demo changes 2010-10-07 15:12:47 -04:00
scottjehl
484388eaf9 still not done, but improving. 2010-10-07 13:06:21 -04:00
scottjehl
e4791ad461 edited to allow for running when loaded through ajax 2010-10-06 12:14:06 -04:00
scottjehl
6f82cb354b just some markup edits 2010-10-06 12:09:06 -04:00
scottjehl
b95dbce151 moved theme class to page div 2010-10-06 00:49:24 -04:00
scottjehl
4a7ede3322 added ui-aux class to edit button. fixed a style with that class too 2010-10-06 00:48:42 -04:00
scottjehl
c5ceff745c inputs with type=search now get turned into search widgets. Their type then degrades to "text" . Demos updated to match changes. 2010-10-06 00:44:03 -04:00
scottjehl
76cf9845ef moved datepicker demo to experiments 2010-10-06 00:16:43 -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
b5eca5bd2a Renamed Globalnav "Navlist". Fixed #95 2010-10-05 14:06:28 -04:00
scottjehl
44f2f147f1 added icon data attrs, as they're now necessary 2010-10-04 15:36:55 -04:00
scottjehl
726691afc3 fixed up link paths now that demo is in experiments dir 2010-10-03 09:55:32 -04:00
scottjehl
4a02d3a5ea moved to experiements folder 2010-10-03 08:34:44 -04:00
scottjehl
91c5b90c82 moved jquery.tmpl.js to converter demo folder, as the script is not part of mobile proper 2010-10-02 11:57:43 -04:00
scottjehl
a08ccd6880 whitespace only 2010-10-02 11:43:32 -04:00
scottjehl
79a5c3db13 removed inline gzips 2010-10-02 11:42:50 -04:00
jzaefferer
bfcc597618 Cleanup, added some notes; blur search input on submit 2010-09-30 14:00:00 +02:00
jzaefferer
a77d187a0f Converter demo: Add another conversion 2010-09-22 13:58:57 +02:00
jzaefferer
176dfcebab Adding converter-demo. Not yet actually using cache.manifest, as that screws up testing on mobile devices. At least on Mobile Safari there is no way to clear that offline cache - none that I found so far. 2010-09-21 22:33:06 +02:00
scottjehl
af250415b2 updated markup to use data-role attrs in place of classes for header/content/footer 2010-09-21 10:58:54 -04:00
scottjehl
f9f236fb8b Big update:
In starting markup, pages should now be identified with the attribute data-role="page".  This allows us to then add ui-page programatically, hiding all non-active pages, and apply ui-page-active to one page at a time to show it.

mobile.js is updated to find pages by this attribute now, instead of ui-page class.

fixes issue 32
2010-09-18 12:20:35 -04:00
scottjehl
691e5c4ddc updated classes 2010-09-17 17:35:52 -04:00
scottjehl
463fa9a620 removed some unnecessary classes 2010-09-16 16:11:16 -04:00
scottjehl
dcb6833a86 updated to remove toc fieldsets in demo pages 2010-09-16 14:27:10 -04:00
scottjehl
c7fae44a5c added a jQuery api viewer demo.
NOTE: content is a modified version of the downloadable HTML from http://jqapi.com
2010-09-16 13:13:38 -04:00
scottjehl
34ddfd9fc2 removed. no longer needed. 2010-09-16 10:44:45 -04:00
Scott González
cdcf5499ad Fixed image referneces in experiments. 2010-09-14 22:48:21 -04:00
scottjehl
1d0fd4a7d8 committing all the mobiley goodness. 2010-09-10 18:23:13 -04:00