Commit graph

5127 commits

Author SHA1 Message Date
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
Mat Marquis
5cfc363fa2 Removed reference to themeswitcher JS docs-wide. 2012-01-11 15:51:53 -05:00
Mat Marquis
071b65f00d Removed themeswitcher in docs. 2012-01-11 14:55:20 -05:00
jblas@adobe.com
86f74cbe39 Fix for issue #3416 - getTopOffset() should subtract scrollTop not add it.
- Modified private utility function getTopOffset() so that it subracts scrollTop from top instead of adding it.
2012-01-11 11:44:58 -08: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
Ghislain Seguin
ff9b742723 Use css/themes/default/jquery.mobile.css instead of css/themes/default/index.php 2012-01-10 14:49:52 -08:00
Ghislain Seguin
d47b6ba6c9 Removed as this is done through @import statements now 2012-01-10 14:34:59 -08:00
Ghislain Seguin
19bcd5a250 Have index.php serve the right file, this is deprecated and should be removed before 1.1 release 2012-01-10 14:32:48 -08:00
Ghislain Seguin
ee1d1f2670 Ported 148cb09132 to valencia theme 2012-01-10 14:31:27 -08:00
Todd Parker
68216bbd79 Missing a 0, thanks @agcolom! 2012-01-10 17:00:11 -05:00
Ghislain Seguin
a19e5dd944 Changed source CSS file for css bundle following bac53cf151 2012-01-10 13:50:58 -08:00
Mat Marquis
148cb09132 Updated docs’ CSS to use new @import scheme. 2012-01-10 16:35:51 -05:00
Mat Marquis
bac53cf151 Single CSS concat file using @import, rather than the PHP concat. 2012-01-10 16:35:50 -05:00
Todd Parker
52f25254e5 Merge pull request #3406 from agcolom/patch-53
Added clarification to the Back button, Fixes #3291
2012-01-10 13:24:20 -08:00
Anne-Gaelle Colom
ab29d7d14d Added clarification to the Back button, Fixes #3291 2012-01-10 20:45:57 +00:00
Ghislain Seguin
127b4493d6 Updated CSS path to default/jquery.mobile.theme.css so it doesn't pick up the index.php 2012-01-10 11:44:59 -08:00
Mat Marquis
1f5449e552 Added page turning transition. 2012-01-10 14:10:45 -05:00
John Bender
0b07290873 fix timing issue where the pushstate plugin expected popstate generated hashchanges to happen before a given timeout 2012-01-10 10:47:56 -08: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
Mat Marquis
cbebd88265 Fixed theme CSS inclusion on docs index. 2012-01-10 12:14:27 -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
Todd Parker
db2829bc29 Merge pull request #3401 from chetankjain/patch-4
fixes #3400. Thanks chetankjain!
2012-01-10 07:35:25 -08:00
toddparker
3da8b6e245 Whitespace 2012-01-10 10:31:36 -05:00
Chetan K Jain
233f5720bd fixes #3400 2012-01-10 21:00:14 +05:30
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