Issue 214: Time settings for the Animation transitions of a modal fading in and out are not exposed
Status:  WontFix
Owner: ----
Closed:  Apr 2009
Reported by appletvdesign, Apr 12, 2009
Currently there is a very nice animation that bubbles in and out when the
modal is displayed. However this is not ideal for all scenarios. For
instance, I wish to have a slight transition at the start of the modal
being displayed but wish it to disappear immediately upon closing. In order
to do this currently I need to hardcode the animation properties within the
hideContent function.

Could this please be exposed in future releases?

FADE_OUT_TIME = 350

	function hideContent(elts, settings, callback) {
		elts.contentWrapper
			.animate({
				height: '50px',
				width: '50px',
				marginTop: (-(25+settings.borderH)/2 + settings.marginScrollTop)+'px',
				marginLeft: (-(25+settings.borderW)/2 + settings.marginScrollLeft)+'px'
			}, {duration: FADE_OUT_TIME, complete: function() {
				elts.contentWrapper.hide();
				callback();
			}});
	}




Apr 13, 2009
Project Member #1 nyro...@gmail.com
the answer is no.
In order to update the animation, you could simply overwrite all the animation function.
I know you'll have to rewrite the whole function, but it'w working great.
Status: WontFix