1,6 → 1,5 |
function initialiserElementsPliables() { |
|
|
$('.conteneur_image_deplie').addClass('conteneur_image'); |
$('.conteneur_image').removeClass('conteneur_image_deplie'); |
|
25,8 → 24,7 |
|
window.location = $(this).attr('href'); |
return false; |
}); |
|
}); |
} |
|
function initialiserZoom() { |
40,7 → 38,6 |
'transitionOut' : 'elastic', |
'cyclic' : true, |
}); |
|
} |
|
function initialiserLazyLoading() { |
49,26 → 46,26 |
|
function initialiserPanneauRechercheAvancee() { |
|
$("#ref-rech-opt").hide(); |
|
$("#afficher_cacher_aide").bind('click', function() { |
|
if($("#ref-rech-opt").is(':visible')) { |
if(!$("#ref-rech-opt").is(':visible')) { |
$('#ref-rech-opt').slideDown('slow', function() { |
$("#afficher_cacher_aide").html("Cacher l'aide"); |
}); |
} else { |
$('#ref-rech-opt').slideUp('slow', function() { |
$("#afficher_cacher_aide").html("Afficher l'aide") |
}); |
} else { |
$('#ref-rech-opt').slideDown('slow', function() { |
$("#afficher_cacher_aide").html("Cacher l'aide"); |
}); |
} |
}); |
|
$("#ref-rech-opt").hide(); |
} |
|
$(document).ready(function() { |
initialiserPanneauRechercheAvancee(); |
reparerLiensDD(); |
initialiserZoom(); |
initialiserElementsPliables(); |
initialiserPanneauRechercheAvancee(); |
initialiserLazyLoading(); |
//initialiserLazyLoading(); |
}); |