Skip to content
Snippets Groups Projects
Commit ae1aca0d authored by llaffont's avatar llaffont
Browse files

Amélioration positionnement vignettes résultat de recherche

parent 893e0642
Branches
Tags
No related merge requests found
......@@ -305,9 +305,11 @@ function openIFrameDialog(url, title) {
function initializeNoticeMurAnimation() {
$(".liste_mur .notice_wrapper").mouseenter(function(){
var thumbnail = $(this).find('a img').add($(this).find('.nothumbnail_wrapper'));
var wrapper = $(this);
var thumbnail = wrapper.find('a img').add($(this).find('.nothumbnail_wrapper'));
var titre = wrapper.find('.titre_auteur');
thumbnail
.animate({top: 70-thumbnail.height()}, 300)
.animate({top: wrapper.height() - titre.height() - thumbnail.height()}, 300)
.parents(".notice")
.css("overflow", "visible");
})
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment