Commit graph

1919 commits

Author SHA1 Message Date
scottjehl
f5dd6fb8ea added fade out in transition handler file 2012-01-10 12:43:09 +07:00
scottjehl
597e6bd07a added fade out in transition handler 2012-01-10 12:40:23 +07:00
scottjehl
195d4dc47e removed commented out line 2012-01-10 12:40:23 +07:00
scottjehl
821df23a7d Much of the scripting in nav.js's transitionPages function was tied to the animation sequence for our css3transitionhandler. For example, the order was, scroll to top, run transitions, then scroll to the remembered location of the new page (there's more involved, but that's the gist of it). If we want to expand beyond this sequence, much of that scripting needs to move to the css3transitionhandler itself, and also to our "none" transition handler, which comes with nav model.
This commit moves all that logic into the transition handlers, and should provide a better starting point for adding different transition sequences, such as fade-out, scroll, fade-in.

In the process of making this change, the reFocus function was made public as $.mobile.focusPage.
2012-01-10 12:40:23 +07:00
Ghislain Seguin
42c9409660 Fixed wrong line break 2012-01-06 17:14:48 -08:00
Mat Marquis
d7afc8aa78 Added download builder metadata. 2012-01-06 19:31:31 -05:00
jblas@adobe.com
1a5224047b Fix for issue #2933 - get_orientation() and hence getScreenHeight() doesn't work on some devices
It seems that some device/browser vendors use window.orientation values 0 and 180 to denote the "default" orientation. For iOS devices, and most other smart-phones tested, the default orientation is always "portrait", but in some Android and RIM based tablets, the default orientation is "landscape".

- Modified the orientationchange plugin so that it injects a landscape orientation media query into the document to figure out what the initial orientation is, it then makes adjustments to a portrait_map if necessary, so that we can properly decode the window.orientation value whenever get_orientation() is called.
2012-01-06 10:19:04 -08:00
John Bender
0b1829967d obviate the need for stub definition of define when using vanilla /js require 2012-01-04 14:21:57 -08:00
John Bender
22504c7613 switch to explicit false check to avoid undefined issues 2012-01-04 13:14:43 -08:00
John Bender
95073892f0 Merge branch 'amd' 2012-01-04 12:24:33 -08:00
John Bender
8ea0bddccc ensure defaultTransitionHandler is defined after the navigation has been loaded 2012-01-04 11:46:35 -08:00
John Bender
6e8433d395 ensure defaultTransitionHandler is defined after the navigation has been loaded 2012-01-04 11:38:32 -08:00
Mat Marquis
f5794cf7c8 Fixing navigation bug caused by dialog markup changes. 2012-01-04 11:27:52 -05:00
Mat Marquis
9b3aefae84 Moved .ui-dialog to element wrapping dialog header/content/footer, switched overlay non-theming class to .ui-dialog-page. 2012-01-03 18:16:29 -05:00
Mat Marquis
1ffc6b007e Partial dialog refactor, in progress. 2012-01-03 18:16:23 -05:00
Mat Marquis
5b9ca5caf0 Ensured the hover delay only applies to touch devices, logic that was mysteriously absent from my previous commit. 2011-12-30 15:58:56 -05:00
Mat Marquis
171be28a22 Added slight delay before application of hover/down classes on touch devices, to prevent unintentional hover-ish behavior when the user intent is to scroll. 2011-12-30 15:24:46 -05:00
zachleat
e29320e711 This might be a little overzealous, but I think the outline around the entire flip switch looks better than the clipped handle outline. 2011-12-29 16:26:45 -05:00
zachleat
c4191d9bf6 Fix for browsers with JavaScript but without box-shadow enabled. outline: 0; outline-width: 2px; doesn't work, requires an outline-style to be set. 2011-12-29 16:26:45 -05:00
zachleat
328bbec94a Per @toddparker's comment, added boxshadow to link buttons. Also changed focus class on sliders to add to the handle, while excluding the toggle switch. 2011-12-29 16:26:45 -05:00
zachleat
bf58b38cb8 Nerf, you guys use tabs. 2011-12-29 16:26:45 -05:00
zachleat
07efc02c9f First stab at more consistent focus classes on form elements, using .ui-focus. Links will still contain outline property. 2011-12-29 16:26:44 -05:00
Jake Boone
13cb24e586 Remove ui-btn-down class on scrollstart 2011-12-29 11:13:54 -05:00
Gabriel Schulhof
3b22bbf9fb [custom select] Use $(window).width() and not window.innerWidth - same for height 2011-12-23 16:09:50 +02:00
Ghislain Seguin
bd6eaba5e8 Changed $.extend to be non destructive 2011-12-22 17:31:50 -08:00
Ghislain Seguin
05068af414 Expose jquery.mobile as an AMD module if running in an AMD env 2011-12-22 15:52:34 -08:00
Ghislain Seguin
a5d56000d4 Added dep on buttonMarkup 2011-12-22 09:48:51 -08:00
Ghislain Seguin
3f05a5e12c Named the module for testability 2011-12-21 16:41:27 -08:00
Ghislain Seguin
9b2e407fdd Added dep on page and page.sections (for nested lists) 2011-12-21 14:28:42 -08:00
Ghislain Seguin
83cd583e33 Added dep on textinput 2011-12-21 14:22:21 -08:00
Ghislain Seguin
4f6e082875 Added dep on grid 2011-12-21 11:54:00 -08:00
John Bender
621348b05b fix bug to allow pagebeforecreate bindings to prevent enhancement 2011-12-20 16:58:23 -08:00
John Bender
d6a5a00ebd added page and page section dependencies to custom select 2011-12-20 14:29:35 -08:00
John Bender
30b4727138 added dialog to custom select deps 2011-12-20 13:47:29 -08:00
John Bender
b35a9fa9ce alpha order deps 2011-12-20 13:29:02 -08:00
John Bender
f45aae07b7 add transition dep to navigation 2011-12-20 12:54:05 -08:00
John Bender
95f7151c8e add page and listview dep to custom select 2011-12-20 12:53:04 -08:00
Ghislain Seguin
14e1641a27 Added dep on "jquery.mobile.buttonMarkup" wherever needed 2011-12-20 11:33:55 -08:00
Ghislain Seguin
bd02b93df6 Added temporary dependency on mobile.widget 2011-12-20 11:25:39 -08:00
Gabriele Rabbiosi
3c57f57e08 Substituted wrong semicolon with comma inside a list of variable
declaration
2011-12-20 08:17:27 -08:00
John Bender
f904de98bf fix improperly camel cased module references 2011-12-19 15:58:13 -08:00
John Bender
f5c5c9a19a support 1.6.4 to 1.7.0 by defaulting to just props where the mouseHooks haven't been added 2011-12-19 13:14:42 -08:00
Ghislain Seguin
e4bf0b1a8e Merge remote branch 'upstream/master' into amd
Conflicts:
	js/jquery.mobile.hashchange.js
2011-12-15 23:31:35 -08:00
Ghislain Seguin
1f8c9ec832 Fixed casing 2011-12-15 23:07:58 -08:00
Ghislain Seguin
57a1129bfb Discovered r.js' pragmas use them instead of the hacky solution provided by amd-stripper.js 2011-12-15 18:15:42 -08:00
John Bender
75b50f2c88 add mouse event props to virtual mouse events Fixes #3280 2011-12-15 15:40:07 -08:00
Ghislain Seguin
754cc81115 Specified more dependencies 2011-12-15 13:07:55 -08:00
John Bender
c7e1bf0c14 update jquery to 1.7.1 Fixes #2965, #3267 2011-12-15 10:35:53 -08:00
Mat Marquis
d05ba205e3 Fixes #3238 — Seems markup structure was changed at some stage, making the ‘aria-hidden=true’ attribute a little over-reaching. Removed. 2011-12-15 12:41:18 -05:00
Ghislain Seguin
f55cf4d7c4 Moved r.js and require.js to external 2011-12-14 15:31:33 -08:00