Animated header image.

master
q3k 2012-04-18 14:13:16 +02:00
parent 16bc7bdc34
commit 4a1c54cdbb
1 changed files with 30 additions and 3 deletions

View File

@ -1,7 +1,34 @@
/* Author:
*/
/* hackerspace.pl js
* by q3k@hackerspace.pl et al
*
* cc by-nc-sa */
$(function(){
var rotimageMoving = false;
$("#rotimage").mouseover(function() {
if (!rotimageMoving)
{
rotimageMoving = true;
$("#rotimage").animate({
height: "200px",
}, 300, "swing", function() {
rotimageMoving = false;
});
}
});
$("#rotimage").mouseout(function() {
if (!rotimageMoving)
{
rotimageMoving = true;
$("#rotimage").animate({
height: "100px",
}, 300, "swing", function() {
rotimageMoving = false;
});
}
});
});