This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implemented fallback transition definitions for non-3D-supporting bro…
…wsers, 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.
- Loading branch information
scottjehl
committed
Jan 13, 2012
1 parent
a237c5f
commit a3e7762
Showing
7 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* fallback transition for flip in non-3D supporting browsers (which tend to handle complex transitions poorly in general | ||
*/ | ||
|
||
(function( $, window, undefined ) { | ||
|
||
$.mobile.transitionFallbacks.flip = "fade"; | ||
|
||
})( jQuery, this ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* fallback transition for pop in non-3D supporting browsers (which tend to handle complex transitions poorly in general | ||
*/ | ||
|
||
(function( $, window, undefined ) { | ||
|
||
$.mobile.transitionFallbacks.pop = "fade"; | ||
|
||
})( jQuery, this ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* fallback transition for slide in non-3D supporting browsers (which tend to handle complex transitions poorly in general | ||
*/ | ||
|
||
(function( $, window, undefined ) { | ||
|
||
$.mobile.transitionFallbacks.slide = "fade"; | ||
|
||
})( jQuery, this ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* fallback transition for slidedown in non-3D supporting browsers (which tend to handle complex transitions poorly in general | ||
*/ | ||
|
||
(function( $, window, undefined ) { | ||
|
||
$.mobile.transitionFallbacks.slidedown = "fade"; | ||
|
||
})( jQuery, this ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* fallback transition for slideup in non-3D supporting browsers (which tend to handle complex transitions poorly in general | ||
*/ | ||
|
||
(function( $, window, undefined ) { | ||
|
||
$.mobile.transitionFallbacks.slideup = "fade"; | ||
|
||
})( jQuery, this ); |