Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1390 | Rev 1452 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1390 Rev 1400
Line 572... Line 572...
572
	$('a.lien-grande-image-organe').live('click', afficherGrandeImageOrgane);
572
	$('a.lien-grande-image-organe').live('click', afficherGrandeImageOrgane);
573
	// pour que la galerie soit ouverte par défaut sur le premier organe non vide
573
	// pour que la galerie soit ouverte par défaut sur le premier organe non vide
574
	var premier = $('a.lien-images-organes.fourni').first().data('tag');
574
	var premier = $('a.lien-images-organes.fourni').first().data('tag');
575
	afficherOngletOrgane(null, premier);
575
	afficherOngletOrgane(null, premier);
Line 576... Line 576...
576
	
576
	
-
 
577
	$('a.lien_telechargement_image').live('click',function(e) {
-
 
578
		if($(e.target).data('oneclicked')!='yes')
-
 
579
		{
-
 
580
			$(e.target).data('oneclicked','yes');
577
	$("a.lien_telechargement_image").fancybox({
581
			$(this).fancybox({
578
		"type" : "iframe",
582
				"type" : "iframe",
579
		"autoDimensions" : false,
583
				"autoDimensions" : false,
580
		"width" : 800,
584
				"width" : 800,
581
		"height" : 405,
585
				"height" : 405,
-
 
586
				"titleShow" : false
-
 
587
			}).click();
-
 
588
		}
-
 
589
 
-
 
590
		e.preventDefault();
582
		"titleShow" : false
591
		return false;
583
	});
592
	});
Line 584... Line 593...
584
});
593
});
585
 
594
 
Line 779... Line 788...
779
		}
788
		}
780
	);
789
	);
781
}
790
}
Line 782... Line 791...
782
 
791
 
783
function gererTemplatesChargementALaDemande() {
792
function gererTemplatesChargementALaDemande() {
784
	$('.lien-ajax-tpl a').live('click', function(e) {
793
	$('.lien-ajax-tpl a.lien-ajax-tpl-chargement').live('click', function(e) {
785
		if($(this).attr('data-loading') != "true") {
794
		if($(this).attr('data-loading') != "true") {
786
			$(this).attr('data-loading', "true");
795
			$(this).attr('data-loading', "true");
787
			e.preventDefault();
796
			e.preventDefault();
788
			urlTpl = $(this).attr('href');
797
			urlTpl = $(this).attr('href');