Revision dafb5cab snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/common.js
b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/common.js | ||
---|---|---|
67 | 67 |
|
68 | 68 |
ui.entitiesActionsInit = function(){ |
69 | 69 |
|
70 |
$('.entities li .img').mouseenter(function(e) { |
|
71 |
if ($(this).closest('.container').siblings('.more').length>0) { |
|
72 |
$(this).closest('.container').stop(true, true).hide(); |
|
73 |
$(this).closest('.container').siblings('.more').stop(true, true).fadeIn(500);//stop().slideToggle(600); |
|
74 |
} |
|
75 |
}); |
|
76 |
$('.entities li .more').mouseleave(function(e) { |
|
77 |
var self = this; |
|
78 |
$(this).stop(true, true).fadeOut(200, function() { |
|
79 |
$(this).siblings('.container').stop(true,true).fadeIn('fast'); |
|
80 |
}); |
|
81 |
}); |
|
70 |
// $('.entities li .img').mouseenter(function(e) {
|
|
71 |
// if ($(this).closest('.container').siblings('.more').length>0) {
|
|
72 |
// $(this).closest('.container').stop(true, true).hide();
|
|
73 |
// $(this).closest('.container').siblings('.more').stop(true, true).fadeIn(500);//stop().slideToggle(600);
|
|
74 |
// }
|
|
75 |
// });
|
|
76 |
// $('.entities li .more').mouseleave(function(e) {
|
|
77 |
// var self = this;
|
|
78 |
// $(this).stop(true, true).fadeOut(200, function() {
|
|
79 |
// $(this).siblings('.container').stop(true,true).fadeIn('fast');
|
|
80 |
// });
|
|
81 |
// });
|
|
82 | 82 |
} |
83 | 83 |
|
84 | 84 |
/* |
... | ... | |
317 | 317 |
}) |
318 | 318 |
$('.scroll-pane').jScrollPane(); |
319 | 319 |
|
320 |
$('.main .items-list .title em').each(function(){ |
|
321 |
$(this).html( ui.trimChars($(this).html(), 20) ); |
|
320 |
// $('.main .items-list .title em').each(function(){
|
|
321 |
// $(this).html( ui.trimChars($(this).html(), 20) );
|
|
322 | 322 |
|
323 |
}) |
|
323 |
// })
|
|
324 | 324 |
|
325 | 325 |
$('.main-actions li a').click(function(e){ |
326 | 326 |
if (!($(this).hasClass('active'))) { |
Also available in: Unified diff