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