41,6 → 41,7 |
configurerAffichagePetiteTaille(); |
} else { |
hauteurImage = 580; |
$("#info-img-galerie").height('100%'); |
} |
|
largeurImage = hauteurImage*rapport; |
62,7 → 63,6 |
$('body').css('height', '100%'); |
$("#zone-corps").height('100%'); |
$("#zone-conteneur").height('100%'); |
$("#info-img-galerie").css('overflow','auto'); |
} |
|
function imageSuivante() { |
134,16 → 134,16 |
|
function afficherMetadonnees(data) { |
$("#tpl-obs-meta").tmpl(data).appendTo('.img-cadre'); |
if($(window).height() > 800) { |
window.resizeTo($(window).width(),hauteurSansMeta+215); |
} |
//if($(window).height() > 800) { |
window.resizeTo($(window).width(),hauteurSansMeta+300); |
//} |
$("#lien-voir-meta").html('Cacher les informations'); |
} |
|
function cacherMetadonnees() { |
if($(window).height() > 800) { |
//if($(window).height() > 800) { |
window.resizeTo($(window).width(),hauteurSansMeta); |
} |
//} |
$('#info-obs-meta').remove(); |
$("#lien-voir-meta").html('Informations sur cette image / Contacter l\'auteur'); |
metadonneesOuvertes = false; |