Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 970 → Rev 971

/trunk/presentations/scripts/fiche-synthese.js
430,6 → 430,22
function gererChargementGraphiqueEcologie() {
$('.ecologie_svg').addClass('chargement');
}
 
function gererAffichageLegendeEcologie() {
$('.voir').live('click', function() {
$(this).siblings('.legende_graphique').show();
$(this).siblings('.cacher').show();
$(this).hide();
});
$('.cacher').live('click', function() {
$(this).siblings('.legende_graphique').hide();
$(this).siblings('.voir').show();
$(this).hide();
});
}
 
 
//+----------------------------------------------------------------------------------------------------------+
// Initialisation
var fancyboxinitialise = false;
549,6 → 565,7
 
$(document).ajaxStop(function() {
gererChargementGraphiqueEcologie();
gererAffichageLegendeEcologie();
if (document.implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#BasicStructure', '1.1') == false) {
$('.svg').each(function() {
alt = $(this).attr('alt');
/trunk/presentations/styles/eflore.css
1026,18 → 1026,7
background:none;
border:none;
}
.bloc_graph > .voir:focus ~ .legende_graphique{
display: block;
}
 
.bloc_graph > .cacher:focus ~.legende_graphique {
display: none;
}
 
.voir:focus, .cacher:focus {
display:none;
}
 
.cacher, .voir {
float:right;
}
1045,9 → 1034,6
.cacher {
display:none;
}
.voir:focus + .cacher, .cacher:focus + .voir {
display:inline;
}
 
.fond_graphique button {
background: none;
1241,6 → 1227,11
padding-left: 0px;
}
/**----------------------- recherche--avancee--formulaire---------------------------------------------**/
::-webkit-input-placeholder { color:#777777; }
::-moz-placeholder { color:#777777; } /* firefox 19+ */
:-ms-input-placeholder { color:#777777; } /* ie */
input:-moz-placeholder { color:#777777; }
 
#recherche_av {
position:relative;
float:right;