Bonjour, je viens de regarder la vidéo pour recopier la source du fichier .js, je t'envoie donc la source du fichier .js
jQuery(function($){
var current = null;
var t = parseInt($("content a:first span.title").css('top'));
var l = parseInt($("content a:first span.descr").css('left'));
$('#content a').mouseover(function(){
if(current && $(this).index() != current.index()){
current.find('span.bg').stop().fadeOut();
// Animation du titre et de la description quand on retire le curseur
current.find('span.title').show().animate({
top : t - 25,
opacity : 0
});
current.find('span.descr').show().animate({
left : t - 50,
opacity : 0
});
}
if(current && $(this).index() == current.index()){
return null;
}
$(this).find('span.bg').hide().stop().fadeTo(500,0.7);
// Animation du titre et de la description quand on met le curseur dessus
$(this).find('span.title').css({
opacity : 0,
top : t + 25
}).animate({
opacity : 1,
top : t
});
$(this).find('span.descr').css({
opacity : 0,
top : l + 50
}).animate({
opacity : 1,
top : l
});
current = $(this);
});
});
En espérant que cela t'aide. Selon moi il n'y avait pas d'erreurs en tant que tel dans ton code, mais il n'était pas complet.