scottjehl
682ef80cf9
added missing files
2012-01-12 14:46:49 +07:00
scottjehl
fa4645c236
no longer need this class addition
2012-01-12 12:54:16 +07:00
scottjehl
6d4d0e14e6
code style
2012-01-12 12:50:47 +07:00
scottjehl
356e2cdfb8
Merge remote branch 'origin/out-in-transition' into out-in-transition
2012-01-12 12:39:04 +07:00
scottjehl
155adc14c1
CSS for ui-overlay-x applies to container now too - removed double class
2012-01-12 12:27:14 +07:00
scottjehl
ca98419cb0
class name was body instead of overlay. Fixed
2012-01-12 11:53:30 +07:00
toddparker
c514777327
Removed blurb about shutting off transitions over 1,000 pixels
2012-01-11 22:14:28 -05:00
toddparker
7df216aa33
Tweaked max width blurb to match the "false" default to avoid confusion
2012-01-11 22:09:16 -05:00
toddparker
9726f21e09
SetScrollBack to 10 (from 250), CSS tweaks to table
2012-01-11 22:07:04 -05:00
toddparker
4c26cd15e2
Re-vamp of transition button design, added page demos
...
Added a new page to contrast the dialog vs. page transitions. Page has
fixed toolbars and form elements to really stress the transitions.
Switched to a table design with a button for dialog and page for each
transition.
2012-01-11 21:45:11 -05:00
toddparker
0fb9024473
Turned maxTransitionWidth to false by default
...
Useful for testing, we may set this back to a value once we've seen
more feedback. Improved the comment a bit.
2012-01-11 20:53:41 -05:00
Mat Marquis
6db136ff12
Merge branch 'out-in-transition' of github.com:jquery/jquery-mobile into out-in-transition
2012-01-11 18:04:17 -05:00
Mat Marquis
f7d59da646
Updated 3d transform test to accomodate FF10.
2012-01-11 16:28:08 -05:00
scottjehl
347014530e
if there's an overlay theme, we're going to remove it from the page container. First though, check that the incoming page isn't a dialog with the same overlay theme. If so, don't remove the class, as it'll remove it for the next one too
2012-01-11 23:29:50 +07:00
scottjehl
c0f39a6c7f
don't append themeswitcher to the dialogs - updated now that the dialog markup changed
2012-01-11 22:01:23 +07:00
scottjehl
c46a94d598
removed the sample link to the delayed-load page. no longer needed
2012-01-11 21:42:55 +07:00
scottjehl
8f54d62527
added some unit tests for maxTransitionWidth option
2012-01-11 21:31:06 +07:00
scottjehl
4125bc6756
disable the maxTransitionWidth during testing by default so that window width doesn't conflict with tests.
2012-01-11 11:27:24 +07:00
scottjehl
5b6401327f
By caching the href value to data and switching the href to a #, we can avoid address bar showing in iOS on every click. The click handler resets the href during its initial steps if this data is present. Note that the address bar will still likely drop down when you click the browser's back button. The only time the back button will not drop the address bar appears to be when the back button does not trigger a pushstate operation - so pushstate would either have to be disabled, or the page would have to be local (multipage), or the page would need to be a dialog (since then going back would only be a hashchange).
...
Still, progress.
2012-01-11 10:50:22 +07:00
scottjehl
e4d7ff92e8
special case for dialogs - the theme class will apply to the page container when a dialog is shown, and that class will be removed when the dialog is hidden. This allows the transition to appear to affect only the inset window portion of the dialog page.
2012-01-11 10:01:47 +07:00
Todd Parker
68216bbd79
Missing a 0, thanks @agcolom!
2012-01-10 17:00:11 -05:00
Mat Marquis
1f5449e552
Added page turning transition.
2012-01-10 14:10:45 -05:00
Mat Marquis
8567dd6b07
Fixed theme CSS inclusion on docs index.
2012-01-10 12:31:19 -05:00
Chetan K Jain
b07f347787
fixes #3400
2012-01-10 12:31:19 -05:00
Ghislain Seguin
92fd8f663c
Fixes #3394 - jquery.mobile.init was not being included in the built bundle
2012-01-10 12:31:18 -05:00
toddparker
d7f9cee654
Removed setDefaultTransition in docs.js
...
This isn't needed anymore.
2012-01-10 11:27:24 -05:00
toddparker
a2145cb2b5
Added docs to cover the new transitions
2012-01-10 11:15:19 -05:00
toddparker
3da8b6e245
Whitespace
2012-01-10 10:31:36 -05:00
toddparker
fab717a459
Added in drop shadow on pages in "flow" transition, adjusted timing to be longer
2012-01-10 10:29:04 -05:00
scottjehl
e35327c894
rewrote the transitions test suite and handlers to account for our new sequence. The main difference is most tests are async now, and use two functions: onFromComplete and onToComplete to test conditions before each page's animationComplete handler finishes (while animation classes are still present, for instance). onToComplete must call start() so that pages stay in proper sequences, as fromComplete may not always run depending on pages in play, and it's only halfway done in the trans.Needs more tests now!
2012-01-10 17:30:28 +07:00
scottjehl
67aec832cb
removed old commented out code
2012-01-10 14:07:07 +07:00
scottjehl
6e2f1cd64f
moved the hide loader call back to nav again
2012-01-10 14:06:24 +07:00
scottjehl
679a46dbf0
even when stubbing out the function for testing, this $.fn needs to return this (it's relied upon for chaining in nav)
2012-01-10 13:23:55 +07:00
scottjehl
7e0de23e61
added reference to flow transition fallback
2012-01-10 13:00:55 +07:00
scottjehl
4f570f3095
one too many transition js refs
2012-01-10 12:59:24 +07:00
scottjehl
c09c767bd5
added fallback transition for flow
2012-01-10 12:51:27 +07:00
scottjehl
8d0c2402ca
better check for supporting fallback
2012-01-10 12:51:27 +07:00
scottjehl
75d0d95bea
pulled out the 3D madness
2012-01-10 12:51:27 +07:00
scottjehl
a7e15820d8
changed up the timing and origin
2012-01-10 12:51:05 +07:00
scottjehl
8f5e263bd8
added an experimental 3D transition, "flow"
2012-01-10 12:51:05 +07:00
scottjehl
ffa23bc137
removed rotate transition from concat files and docs
2012-01-10 12:50:53 +07:00
scottjehl
d1edb4f98c
better comment
2012-01-10 12:50:44 +07:00
scottjehl
0dd88f4f88
implemented fallback transition definitions for non-3D-supporting browsers, for all transitions except "fade". By default, these are all set to fall back to "fade", and they'll fall back to "none" if 3D is unsupported and no fallback is defined. They can be overridden at mobileinit, like any other jQM default.
2012-01-10 12:50:44 +07:00
scottjehl
fd700aaa15
removed the experimental rotate transition
2012-01-10 12:50:33 +07:00
scottjehl
40d9fa978a
split the slide transitions into 3 files for slide, slidedown, and slideup
2012-01-10 12:50:33 +07:00
scottjehl
86e9c9df68
removed fallback transition CSS for non-3D browsers
2012-01-10 12:50:22 +07:00
Mat Marquis
0b80c12778
Updated page transition scripting/support test to allow for Firefox.
2012-01-10 12:50:22 +07:00
scottjehl
b019e01201
updated docs to describe the maxTransitionWidth option.
2012-01-10 12:50:22 +07:00
scottjehl
69558f2cbd
Added a new core option called maxTransitionWidth, which defaults to 1000. Accepts any number or false value. If it's not false, the handler will use a "none" transition when the window width is wider than the specified value. This is useful because transitions get very wonky on wider screens.
2012-01-10 12:50:22 +07:00
scottjehl
3271066c97
updated the rotate transition to move the page out of view
2012-01-10 12:50:22 +07:00