/trunk/modules/fiche/squelettes/fiche_ecologie.tpl.html |
---|
7,7 → 7,7 |
<span class="titre">caractéristiques climatiques</span> |
<div class="graphique"> |
<object type="image/svg+xml" data="<?=$baseflor['climat_url']?>" class="svg" alt="<?=$baseflor['climat_url_png']?>"> |
<object class="ecologie_svg" type="image/svg+xml" data="<?=$baseflor['climat_url']?>" class="svg" alt="<?=$baseflor['climat_url_png']?>"> |
</object> |
</div> |
64,7 → 64,7 |
<span class="titre">caractéristiques du sol</span> |
<div class="graphique"> |
<object type="image/svg+xml" data="<?=$baseflor['sol_url']?>" class="svg" alt="<?=$baseflor['sol_url_png']?>"> |
<object class="ecologie_svg" type="image/svg+xml" data="<?=$baseflor['sol_url']?>" class="svg" alt="<?=$baseflor['sol_url_png']?>"> |
</object> |
</div> |
<div class="legende_formes"> |
/trunk/presentations/styles/eflore.css |
---|
1222,5 → 1222,16 |
/**----------------------- Correction de hauteur pour les graphiques ---------------------------------------------**/ |
.chorodep_svg { |
height: 590px; |
width: 360px; |
width: 100%; |
} |
.ecologie_svg { |
width: 500px; |
} |
.chargement { |
background:url('../images/chargement-transparent.gif'); |
background-repeat:no-repeat; |
background-position:center; |
min-height: 150px; |
} |
/trunk/presentations/images/chargement-transparent.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/presentations/images/chargement-transparent.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/presentations/scripts/fiche-synthese.js |
---|
553,8 → 553,12 |
+', status='+ event.data.status ); |
} |
//+----------------------------------------------------------------------------------------------------------+ |
// Message de chargement pour les graphique écologie |
function gererChargementGraphiqueEcologie() { |
$('.ecologie_svg').addClass('chargement'); |
} |
//+----------------------------------------------------------------------------------------------------------+ |
// Initialisation |
var fancyboxinitialise = false; |
var param_popup_Coste = {h: 650, w: 550, t: 100, l: 100, |
620,6 → 624,7 |
}); |
$(document).ajaxStop(function() { |
gererChargementGraphiqueEcologie(); |
if (document.implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#BasicStructure', '1.1') == false) { |
$('.svg').each(function() { |
alt = $(this).attr('alt'); |