From 2d5b65a419908eed028d96c76ef2d01273376f13 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Thu, 22 Oct 2009 22:01:02 -0600 Subject: Use jQuery fadeIn() for message display effect, it fades bg icon and color at the same time. --- lib/gallery.common.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/gallery.common.js') diff --git a/lib/gallery.common.js b/lib/gallery.common.js index 7c52fef0..da69e476 100644 --- a/lib/gallery.common.js +++ b/lib/gallery.common.js @@ -1,10 +1,9 @@ (function ($) { // Fade in action status message background color - $.fn.gallery_show_message = function(message) { + $.fn.gallery_show_message = function() { return this.each(function(i){ - $(this).effect("highlight", {"color": "white"}, 3000); - $(this).animate({opacity: 1.0}, 6000); + $(this).hide().fadeIn(3000) }); }; -- cgit v1.2.3