Project

General

Profile

« Previous | Next » 

Revision f63932ca

Added by Vinicius Coque almost 14 years ago

Use jQuery fadeout effect

View differences:

usr/local/www/index.php
275 275
	        alert('Error ' + t.status + ' -- ' + t.statusText);
276 276
	    },
277 277
		success: function(data) {
278
			widget2 = widget + "-loader";
279
			Effect.Fade(widget2, {queue:'front'});
280
			Effect.Appear(widget, {queue:'end'});			
278
			widget2 = '#' + widget + "-loader";
279
			jQuery(widget2).fadeOut(1000,function(){
280
				jQuery('#' + widget).show();
281
			});
281 282
			jQuery('#' + widget).html(data);
282 283
	    }	
283 284
	}

Also available in: Unified diff