Commit 952f9fa7 authored by Leo Iannacone's avatar Leo Iannacone

show smile only if mouse enter the anchor

parent ea03f4c5
...@@ -188,12 +188,12 @@ function Page_Generic() { ...@@ -188,12 +188,12 @@ function Page_Generic() {
this.preferences(); this.preferences();
// show the smile face // show the smile face
$('#footer .copyright').mouseenter(function () { $('#footer .copyright a').mouseenter(function () {
$('#smile').animate({ $('#smile').delay(250).animate({
'background-position-y': '-50px' 'background-position-y': '-50px'
}, 200); }, 200);
}).mouseleave(function () { }).mouseleave(function () {
$('#smile').animate({ $('#smile').stop().stop().animate({
'background-position-y': '20px' 'background-position-y': '20px'
}, 150); }, 150);
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment