Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1256 → Rev 1257

/trunk/presentations/scripts/fiche-synthese.js
486,6 → 486,22
gererInteractionsPermaliens();
});
 
function ajouterEvenement(elementHtml, nomEvenement, functionCallBack) {
if(elementHtml.attachEvent) // Internet Explorer
elementHtml.attachEvent("on" + nomEvenement, function() {functionCallBack.call(elementHtml);});
else if(elementHtml.addEventListener) // Firefox & autres
elementHtml.addEventListener(nomEvenement, functionCallBack, false);
}
 
$(document).one('ongletRepartitionCharge', function() {
$(".conteneur_repartition_observations").addClass("chargement_repartition");
// utilisation d'une fonction native car jQuery refuse d'ajouter un évènement load
// sur autre chose qu'une image
ajouterEvenement(document.getElementById("repartition_observations"), "load", function() {
$(".conteneur_repartition_observations").removeClass("chargement_repartition");
});
});
 
$(document).one('ongletSyntheseCharge', function() {
lierModulesEtOnglets();
/trunk/presentations/styles/eflore.css
830,6 → 830,15
#dialog label { margin-top: 0.5em; }
#dialog input, #dialog textarea { width: 95%; }
 
.conteneur_repartition_observations {
width:620px;
height:620px;
}
 
.chargement_repartition {
background: url("../images/chargement.gif") no-repeat scroll 50% 50%, url("../images/fond_carte_metropole.png") no-repeat scroll 8px 8px rgba(0, 0, 0, 0);
}
 
.bloc_legende_repartition {
float:left;
margin-right:5px;