Revision db1f3b94 snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/common.js
b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/common.js | ||
---|---|---|
131 | 131 |
|
132 | 132 |
ui.cntCheckbox(); |
133 | 133 |
}) |
134 |
$('.entities li .details').mouseenter(function (e) { |
|
135 |
$(this).parents('.container').find('.info-box').show(); |
|
136 |
}) |
|
137 |
|
|
138 |
$('.entities li .details').mouseleave(function (e) { |
|
139 |
$(this).parents('.container').find('.info-box').hide(); |
|
140 |
}) |
|
141 |
$('.entities li .container').mouseleave( |
|
142 |
function(e){ |
|
143 |
$(this).stop(true, true).removeClass('set-border'); |
|
144 |
$(this).find('.options').stop(true, true).fadeOut(200); |
|
145 |
$(this).find('.img').stop(true, true).fadeIn('slow'); |
|
146 |
$(this).find('.custom_checkbox:not(.checkbox-checked)').parents('.check').stop(true, true).removeClass('active'); |
|
147 |
$(this).find('.visible-info em').stop(true, true).each(function(){ |
|
148 |
$(this).animate({ |
|
149 |
left: 0, |
|
150 |
}, 300); |
|
151 |
}) |
|
152 |
} |
|
153 |
); |
|
134 | 154 |
|
135 | 155 |
} |
136 | 156 |
|
Also available in: Unified diff