Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 917 Rev 922
Line 635... Line 635...
635
});
635
});
Line 636... Line 636...
636
 
636
 
637
function gererClicIllustrationsFiche() {
637
function gererClicIllustrationsFiche() {
638
	$('.illustration_cel').live('click', function() {
638
	$('.illustration_cel').live('click', function() {
-
 
639
		var url_image = $(this).attr('src');
639
		var url_image = $(this).attr('src');
640
		var titre = $('.nomenclature').first().text();
640
		var url = urlPopup+"?module=popup-galerie&action=fiche&num_nom="+$(this).attr('title')+"&url_image="+encodeURIComponent(url_image);
641
		var url = urlPopup+"?module=popup-galerie&action=fiche&num_nom="+$(this).attr('title')+"&titre="+encodeURIComponent(titre)+"&url_image="+encodeURIComponent(url_image);
641
		window.open(url, '', 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no, width='+(400)+', height='+(375));
642
		window.open(url, titre, 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no, width='+(400)+', height='+(375));
Line 642... Line 643...
642
	}); 
643
	}); 
643
	
644
	
644
	$('#synthese_repartition img').click(function() {
645
	$('#synthese_repartition img').click(function() {