summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdolfo Fitoria <adolfo.fitoria@gmail.com>2011-10-06 14:23:07 -0300
committerAdolfo Fitoria <adolfo.fitoria@gmail.com>2011-10-06 14:23:07 -0300
commit227ca9c33d53cf866353773e669121169eee305e (patch)
tree87d711b464d7bcd20c8e704a93bc4aee179703e4
parent63380501d5a17ed8efabd01ebb4dd450e5452b03 (diff)
downloadaskbot-227ca9c33d53cf866353773e669121169eee305e.tar.gz
askbot-227ca9c33d53cf866353773e669121169eee305e.tar.bz2
askbot-227ca9c33d53cf866353773e669121169eee305e.zip
fixed bugs with white color
-rw-r--r--askbot/skins/default/templates/main_page/javascript.html6
-rw-r--r--askbot/skins/default/templates/question.html6
2 files changed, 8 insertions, 4 deletions
diff --git a/askbot/skins/default/templates/main_page/javascript.html b/askbot/skins/default/templates/main_page/javascript.html
index 4d39f233..e7479e63 100644
--- a/askbot/skins/default/templates/main_page/javascript.html
+++ b/askbot/skins/default/templates/main_page/javascript.html
@@ -20,8 +20,10 @@
var id_value = window.location.hash;
if (id_value != ""){
var previous_color = $(id_value).css('background-color');
- $(id_value).animate({ backgroundColor: '#BEDA53' }, 500);
- $(id_value).animate({backgroundColor: previous_color}, 500);
+ $(id_value).css('backgroundColor', '#FFF8C6');
+ $(id_value).animate({backgroundColor: '#ff7f2a'}, 1000).animate({backgroundColor: '#FFF8C6'}, 1000, function(){
+ $(id_value).css('backgroundColor', previous_color);
+ });
}
}
askbot['urls']['mark_interesting_tag'] = scriptUrl + '{% url mark_interesting_tag %}';
diff --git a/askbot/skins/default/templates/question.html b/askbot/skins/default/templates/question.html
index 3013cc8e..3b07bddb 100644
--- a/askbot/skins/default/templates/question.html
+++ b/askbot/skins/default/templates/question.html
@@ -560,8 +560,10 @@
var id_value = window.location.hash;
if (id_value != ""){
var previous_color = $(id_value).css('background-color');
- $(id_value).animate({ backgroundColor: '#BEDA53' }, 500);
- $(id_value).animate({backgroundColor: previous_color}, 500);
+ $(id_value).css('backgroundColor', '#FFF8C6');
+ $(id_value).animate({backgroundColor: '#ff7f2a'}, 1000).animate({backgroundColor: '#FFF8C6'}, 1000, function(){
+ $(id_value).css('backgroundColor', previous_color);
+ });
}
}