Commit graph

4542 commits

Author SHA1 Message Date
scottjehl
554ef6da53 removed unused image 2012-01-13 17:27:49 +07:00
Todd Parker
0327298ca1 Loader design tweaks
Removed the spin class from the loader container, tweaked opacity and
added slight glow to bottom of loader, increased padding. Downloaded a
fresh loader image.
2012-01-13 17:27:49 +07:00
scottjehl
6e9da8e90f added fade out in transition handler 2012-01-13 17:27:48 +07:00
scottjehl
a8416daa06 changed filename 2012-01-13 17:27:48 +07:00
scottjehl
4d6f341a57 changed plugin name to outInTransitionHandler, as the sequence has nothing to do with "fade" specifically. 2012-01-13 17:27:48 +07:00
Todd Parker
8221c3e98e Add -moz prefixes for initial cut at Firefox transition support 2012-01-13 17:27:48 +07:00
Todd Parker
df64a22e3e Shorter fade out (150ms) and fade in (300ms) for speedier transitions. 2012-01-13 17:27:48 +07:00
scottjehl
4bc2bb8616 brought back the height settings, and fixed a typo between addClass and removeClass 2012-01-13 17:27:48 +07:00
Todd Parker
ff618ff5e1 Faster spinner animation
Was 4ms per frame, now 3ms.
2012-01-13 17:27:48 +07:00
scottjehl
d68d8ff53a don't use pre transitioning class, or viewport class for this transition handler. Instead, activate page early, then scroll to desired spot, and transition in. In order to make this work, I had to add an argument to the end of the promise, letting navigation know that the page is already focused, so don't do it over again. This should make for a smooth transition from point-a to point-b, without a visible scroll jump. Needs testing! 2012-01-13 17:27:48 +07:00
scottjehl
7141ad8b6f add back viewport transitioning class 2012-01-13 17:27:48 +07:00
scottjehl
5217ad7df3 don't scroll at the end. scroll halfway through instead 2012-01-13 17:27:03 +07:00
scottjehl
cde86da912 position loader fixed by default, then check if it's positioned correctly and if not, switch to an absolute positioned scheme, with updates on scroll (or scrollstop in iOS 4). 2012-01-13 17:27:03 +07:00
Todd Parker
ad2f977ca8 All new loader hotness
Created a new loader that has a circle baked into the animated gif so
there's less of a chance of artifacts in bad browsers. The edge is
chunky because it's a gif but then added 1px of padding to the loader
parent and that the border-radius can smooth this out in iOS. Actually
looks sharp in Android too because of interaction effects between these
rounded corners. Loader spin is faster and more compressed (16 colors).
Removed the body-a class on the spinner since we're just setting this to
flat black = one less gradient to render.
2012-01-13 17:27:02 +07:00
scottjehl
ab32d0850b an attempt at simplification. not there yet... 2012-01-13 17:27:02 +07:00
scottjehl
5da1f11c4b default transition type goes to fade 2012-01-13 17:27:02 +07:00
scottjehl
4bb63a315c for now, removed any difference between framework transition defaults and the docs. We might want to bring this back and recommend it though - I'm not sure how easy it'll be to bring it in standard with the ability to configure. 2012-01-13 17:27:02 +07:00
scottjehl
1e6e411278 removed unused image 2012-01-13 17:27:02 +07:00
Todd Parker
609397dda4 More loader tweaks 2012-01-13 17:27:02 +07:00
Todd Parker
7c160b77af Loader design tweaks
Removed the spin class from the loader container, tweaked opacity and
added slight glow to bottom of loader, increased padding. Downloaded a
fresh loader image.
2012-01-13 17:27:02 +07:00
scottjehl
1435e0b49e added loader test page for local testing 2012-01-13 17:27:02 +07:00
scottjehl
fe5ef1aea9 gif loader style updates 2012-01-13 17:27:02 +07:00
scottjehl
88914e01a4 gif loader styles 2012-01-13 17:27:01 +07:00
scottjehl
b46b4220dc removed code to set css3transitionhandler as the default 2012-01-13 17:27:01 +07:00
scottjehl
f50e029bac hard-set opacity for "out" to prevent blinks 2012-01-13 17:27:01 +07:00
scottjehl
e830f6221b added fade out in transition handler file 2012-01-13 17:27:01 +07:00
scottjehl
eda70bd3b3 added fade out in transition handler 2012-01-13 17:27:01 +07:00
scottjehl
1a78cc86c3 gif-based loader animation 2012-01-13 17:27:01 +07:00
scottjehl
6a28fd4b13 removed commented out line 2012-01-13 17:27:01 +07:00
scottjehl
7a8821fb71 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-13 17:27:01 +07:00
Ghislain Seguin
70c4f9f0a5 Fixes #3394 - jquery.mobile.init was not being included in the built bundle 2012-01-13 17:26:21 +07:00
Ghislain Seguin
22ec6cf3ed Fixed wrong line break 2012-01-13 17:26:21 +07:00
Mat Marquis
42536ecafe Added download builder metadata. 2012-01-13 17:26:21 +07:00
John Bender
6b0d9dd2d0 conceding defeat on determining the load order issue that's causing the test failure 2012-01-13 17:25:56 +07:00
John Bender
4650f57222 remove duplicate test run 2012-01-13 17:25:56 +07:00
John Bender
21394cb5e5 check to make sure cached test page appears 2012-01-13 17:25:56 +07:00
jblas@adobe.com
c1a61aa6a8 Corrected the title for the functional test. 2012-01-13 17:25:56 +07:00
jblas@adobe.com
d4c7123c85 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-13 17:25:55 +07:00
John Bender
bf39926d0d enforce test order ... dying a little inside 2012-01-13 17:25:55 +07:00
Eddie Monge Jr
01d1ce2342 increase java cache size 2012-01-13 17:25:55 +07:00
John Bender
384e8979f3 remove submodule update note 2012-01-13 17:25:55 +07:00
John Bender
fdcfd54172 vendor r.js and require.js 2012-01-13 17:25:55 +07:00
John Bender
8b08b65676 remove requirejs and r.js submodules in favor of vendoring the libraries 2012-01-13 17:25:55 +07:00
John Bender
5365928b40 add submodule update/init to readme 2012-01-13 17:25:55 +07:00
John Bender
6688882ef2 remove define stub, it's now stubbed through including jquery.mobile.define.js in js/index.php 2012-01-13 17:25:54 +07:00
John Bender
0c006605d1 obviate the need for stub definition of define when using vanilla /js require 2012-01-13 17:25:54 +07:00
John Bender
b3d1b49008 update functional tests to use requirejs 2012-01-13 17:25:54 +07:00
John Bender
4ca0e94b73 add ui-mobile-rendering to docs to temprarily prevent fouc with async load. @gseguin to address with jqm-docs.js change 2012-01-13 17:25:54 +07:00
John Bender
b3048e4be5 switch to explicit false check to avoid undefined issues 2012-01-13 17:25:54 +07:00
John Bender
921ab705f5 fix async loading select test issue where keepnative isn't defined in time for the leading test 2012-01-13 17:25:54 +07:00