Created
November 17, 2013 19:00
-
-
Save vincentdeelen/7516812 to your computer and use it in GitHub Desktop.
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
/* ==================================================== | |
// FUNCTION autoFadeSucces | |
// | |
// This function is an overload of the native APEX | |
// function autoFadeSuccess. | |
// The overload is used to get better control over | |
// the display time of custom made success messages | |
// | |
// --------------------------------------------------- | |
// Change History | |
// version Name Date Description | |
// --------------------------------------------------- | |
// 0.1 V.Deelen 2013.09.24 Creation | |
// ==================================================*/ | |
autoFadeSuccess = function(){ | |
setTimeout(function(){ | |
apex.jQuery("#uSuccessMessage").animate({ | |
height: 0, opacity: 0 | |
}, 2500, function(){ | |
apex.jQuery(this).remove(); | |
}) | |
},4000) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment