summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-10-22 22:01:02 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-10-22 22:01:02 -0600
commit412ee0e385c1ddd4708c224a9b75c7b7dee10d18 (patch)
treee28297b2ce9594a064e3c748f9ad5c1c26f61037
parente025abea4179bc059b8fef195bafe0c3f60f1220 (diff)
Use jQuery fadeIn() for message display effect, it fades bg icon and color at the same time.
-rw-r--r--lib/gallery.common.js5
1 files changed, 2 insertions, 3 deletions
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)
});
};