Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 971 Rev 984
Line 408... Line 408...
408
 
408
 
409
//+----------------------------------------------------------------------------------------------------------+
409
//+----------------------------------------------------------------------------------------------------------+
410
// ancienne fonction CEL  
410
// ancienne fonction CEL  
411
function ouvrirPopUpImgCel(event) {
411
function ouvrirPopUpImgCel(event) {
412
	event.preventDefault();
412
	event.preventDefault();
413
	window.open($(this).attr('href'), "Photo "+$(this).children("img").attr("title"), 
413
	window.open($(this).attr('href'), "Photo "+$(this).children("img").attr("data-num-nom"), 
414
		'height= 750, width= 630, top=100, left=100, toolbar=no, menubar=no, location=no, resizable=yes, scrollbars=yes, status=no');
414
		'height= 750, width= 630, top=100, left=100, toolbar=no, menubar=no, location=no, resizable=yes, scrollbars=yes, status=no');
Line 415... Line 415...
415
}
415
}
Line 540... Line 540...
540
 
540
 
541
function gererClicIllustrationsFiche() {
541
function gererClicIllustrationsFiche() {
542
	$('.illustration_cel').live('click', function() {
542
	$('.illustration_cel').live('click', function() {
543
		var url_image = $(this).attr('src');
543
		var url_image = $(this).attr('src');
544
		var titre = $('.nomenclature').first().text();
544
		var titre = $('.nomenclature').first().text();
545
		var url = urlPopup+"?module=popup-galerie&action=fiche&num_nom="+$(this).attr('title')+"&titre="+encodeURIComponent(titre)+"&url_image="+encodeURIComponent(url_image)+"&referentiel="+REFERENTIEL;;
545
		var url = urlPopup+"?module=popup-galerie&action=fiche&num_nom="+$(this).attr('data-num-nom')+"&titre="+encodeURIComponent(titre)+"&url_image="+encodeURIComponent(url_image)+"&referentiel="+REFERENTIEL;;
546
		window.open(url, $(this).attr('title'), 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no, width='+(400)+', height='+(375));
546
		window.open(url, $(this).attr('data-num-nom'), 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no, width='+(400)+', height='+(375));
Line 547... Line 547...
547
	}); 
547
	}); 
548
	
548
	
549
	$('#synthese_repartition img').click(function(event) {
549
	$('#synthese_repartition img').click(function(event) {