Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1399 → Rev 1400

/trunk/presentations/scripts/fiche-synthese.js
574,12 → 574,21
var premier = $('a.lien-images-organes.fourni').first().data('tag');
afficherOngletOrgane(null, premier);
$("a.lien_telechargement_image").fancybox({
"type" : "iframe",
"autoDimensions" : false,
"width" : 800,
"height" : 405,
"titleShow" : false
$('a.lien_telechargement_image').live('click',function(e) {
if($(e.target).data('oneclicked')!='yes')
{
$(e.target).data('oneclicked','yes');
$(this).fancybox({
"type" : "iframe",
"autoDimensions" : false,
"width" : 800,
"height" : 405,
"titleShow" : false
}).click();
}
 
e.preventDefault();
return false;
});
});
 
781,7 → 790,7
}
 
function gererTemplatesChargementALaDemande() {
$('.lien-ajax-tpl a').live('click', function(e) {
$('.lien-ajax-tpl a.lien-ajax-tpl-chargement').live('click', function(e) {
if($(this).attr('data-loading') != "true") {
$(this).attr('data-loading', "true");
e.preventDefault();
/trunk/modules/fiche/squelettes/fiche_illustrations.tpl.html
147,7 → 147,7
<?= $cel['illustrationsCel'] ?>
<br/>
<span>Seules les <?= Config::get('nbTrancheImagesResultatsDeterminationAffichees') ?> premières images sont affichées : </span>
<a href="<?= $cel['ajax_url']; ?>">
<a href="<?= $cel['ajax_url']; ?>" class="lien-ajax-tpl-chargement">
<strong>Cliquez ici pour charger toutes les illustrations disponibles pour ce taxon</strong>
</a>
</div>