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
scottjehl
e70c7d4295
Merge branch 'master' of github.com:jquery/jquery-mobile
2010-12-01 17:07:37 -05:00
scottjehl
69a91d0854
noted docs to-do
2010-12-01 17:05:28 -05: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
9423bc199d
fixed issue with listview corner rounding when listviews have only a couple items.
2010-12-01 16:35:17 -05:00
scottjehl
ce5ea07780
don't set hash if back is true. Fixes #582
2010-12-01 12:41:27 -05: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
scottjehl
bc09540492
updated example code
2010-12-01 11:11:35 -05:00
scottjehl
54568271d9
pageshow and pagehide now fire after the location hash is updated. Fixes #583
2010-12-01 09:52:07 -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
17f0340a0a
improved keepNative option so that it's additive on top of data-role=none and data-role=nojs.
2010-12-01 09:52:07 -05:00
John Bender
bb5d247786
removed console log
2010-11-30 23:10:41 -08:00
John Bender
5a89066e98
setup function fully tested
2010-11-30 23:08:06 -08:00
John Bender
b2905ee08c
started event.special.scrollstart.setup tests
2010-11-30 22:57:49 -08:00
John Bender
c27122040a
removed page div from event index html
2010-11-30 19:48:38 -08:00
Kin Blas
fbaa3c1288
Make sure newX and newY are initialized to the current scroll offsets. This fixes a scroll propagation bug that was resetting the non-scrolled dimension to zero.
...
Replaced all occurences of "horizontal" and "vertical" with "x" and "y".
Modified samples to use data-scroll="x|y|true".
Implemented public scrollTo(0 function that gives an optional duration parameter for animated scrolling.
2010-11-30 15:20:10 -08:00
scottjehl
efe4c38ad4
added the keepNative option to page plugin, which defaults to this selector "[data-role='none'], .ui-nojs". Add the attribute data-role="none" to any form control or anchor and it will not be auto-enhanced. Thx @pharaoh for the syntax suggestion. Fixes #544 , Fixes #528 , Fixes #529
2010-11-30 18:18:53 -05:00
scottjehl
5486f8e9e1
fixed typos
2010-11-30 10:20:20 -05:00
John Bender
c20b589686
added test for trigger inside new event closure
2010-11-29 23:47:38 -08:00
John Bender
524008f5f3
started mobile.event unit tests
2010-11-29 23:41:29 -08:00
Kin Blas
81f67e1aaf
Made setElementTransform() a generic function so it can be shared with the scrolllistview code.
...
Fixed a bug/typo with an instance of the _didDrag property.
2010-11-29 15:40:52 -08:00
Kin Blas
655e98647c
Removed style properties for ui-scrollview-clip and ui-scrollview-view from the stylesheet. We now set them progrmatically since they are required.
...
Added a multi-direction, horizontal and vertical example to the sample page.
2010-11-29 10:55:54 -08:00
scottjehl
419787affe
make sure submit button name/value is submitted with form values. Fixes #551
2010-11-29 10:09:26 -05:00
John Bender
891c09b32a
added to todo for silent scroll on window load test
2010-11-29 22:32:26 +08:00
John Bender
3df0060827
document ready tests are finished
2010-11-29 22:32:26 +08:00
John Bender
2913104d4f
added tests for silent scoll y position parameter
2010-11-29 22:32:25 +08:00
John Bender
7314fff15f
added silentScroll tests for mobile.core
2010-11-29 22:32:25 +08: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
John Bender
726166a5ee
removed unfinished page tests stubs
2010-11-25 17:10:02 +08:00
John Bender
b55e9c6eec
removed core hash tag testing (still evaluating), fixed coretests based on new refactor
2010-11-25 17:10:00 +08:00
John Bender
6816d2a793
added getPathDir tests
2010-11-25 17:10:00 +08:00
John Bender
bfb0f4e403
small refactor for mobile view port tests
2010-11-25 17:09:59 +08:00
John Bender
a569bff05a
meta view port selector testing
2010-11-25 17:09:59 +08:00
John Bender
923c262bb5
fixed test description
2010-11-25 17:09:59 +08:00
Kin Blas
84f5325ad2
Fixed a bug that was causing a vertical scrollview to jump to (0,0) when the directionLock calculated was horizontal.
2010-11-24 11:54:17 -08:00
Kin Blas
1c198d1193
Renamed _direction to _directionLock.
2010-11-24 10:04:50 -08:00
Kin Blas
e4a17298bf
Some fine tuning for when we actually propagate scrolling. We now limit propagation to vertical or horizontal directions.
2010-11-24 09:32:16 -08:00
Kin Blas
910d0ded17
- Refactored some code.
...
- Got scroll propagation working for the case where we hit the extremes of a horizontal or vertical scrollview when dragging.
2010-11-23 13:02:12 -08:00
Kin Blas
cc34525663
Fixed direction locking and propagation.
2010-11-23 09:26:43 -08:00
John Bender
31e6d6879b
added loading dialog testing
2010-11-23 21:08:13 +08:00
John Bender
eb19f53c26
added test for grade a check
2010-11-23 21:08:13 +08:00
John Bender
caf84f6663
moved module declaration to actual module files to be consistent with reload based tests
2010-11-23 21:08:12 +08:00
John Bender
0a023fa46a
started core testing
2010-11-23 21:08:12 +08:00
John Bender
a11a387e8b
small refactor to cache script tag for lib reload
2010-11-23 21:08:11 +08:00
John Bender
521777dcb7
added reload lib helper, moved support core over
2010-11-23 21:08:11 +08:00
John Bender
4bec9b1ae2
added file protocol helper
2010-11-23 21:08:11 +08:00
Kin Blas
9bee72ca1c
Get nested scrolling to work. Still need to get scroll direction locking functioning.
2010-11-22 17:22:51 -08:00
Kin Blas
cdf5311cd2
Rough support for scroll propagation. Still some bugs to fix.
2010-11-22 17:00:58 -08:00