My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 180: A how to question
2 people starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Feb 2009


 
Reported by danhoyde...@gmail.com, Feb 26, 2009
I would like to know how to turn off the animation that sizes the modal
window. 

I would like to know how to make it simply appear and disappear w/out the
animated/lightbox sizing effect.

Thanks for your time,
Dan

Feb 27, 2009
Project Member #1 nyro...@gmail.com
I just answered this question on  issue #169 .

here is the solution:
$.nyroModalSettings({
	showLoading: function(elts, settings, callback) {
		callback();
	},
	showContent: function(elts, settings, callback) {
		elts.contentWrapper
			.css({
				width: settings.width+'px',
				height: settings.height+'px',
				marginTop: settings.marginTop+'px',
				marginLeft: settings.marginLeft+'px'
			})
			.show();
			elts.loading.fadeOut(200, callback);
	},
	hideContent: function(elts, settings, callback) {
		elts.contentWrapper.hide();
		callback();
	}
});

Status: Invalid
Mar 2, 2009
#2 danhoyde...@gmail.com
Thanks :)

Powered by Google Project Hosting