root / snf-cyclades-app / synnefo / ui / new_ui / ui / javascripts / gp-script.js @ 8bcfec88
History | View | Annotate | Download (654 Bytes)
1 |
$(document).ready(function(){ |
---|---|
2 |
$('.vm_container').find('.img').mouseenter(function(event){ |
3 |
event.preventDefault(); |
4 |
elem = $('.vm_container').find('.vm_options'); |
5 |
if(elem.length!==0){ |
6 |
console.log('me vrikane k tha me diksoun!');
|
7 |
elem.slideDown('slow');
|
8 |
elem.removeClass('invisible');
|
9 |
} |
10 |
|
11 |
}); |
12 |
$('.vm_options').mouseleave(function(event){ |
13 |
event.preventDefault(); |
14 |
if(!$(this).hasClass('invisible')) |
15 |
{ |
16 |
console.log('fainomai twra! ;)')
|
17 |
elem.slideUp('slow');
|
18 |
elem.addClass('invisible');
|
19 |
} |
20 |
}) |
21 |
|
22 |
}); |