36 lines
562 B
JavaScript
36 lines
562 B
JavaScript
/* 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;
|
|
});
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|