Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1131 Rev 1136
Line 618... Line 618...
618
// ouvre le popup de galerie lors d'un clic sur l'illustration dans la fiche synthèse
618
// ouvre le popup de galerie lors d'un clic sur l'illustration dans la fiche synthèse
619
function gererClicIllustrationsFiche() {
619
function gererClicIllustrationsFiche() {
620
	$('.illustration_cel').live('click', function() {
620
	$('.illustration_cel').live('click', function() {
621
		var url_image = $(this).attr('src');
621
		var url_image = $(this).attr('src');
622
		var titre = $('.nomenclature').first().text();
622
		var titre = $('.nomenclature').first().text();
623
		//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;
623
		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;
624
		var url = urlPopup+"?module=popup-galerie-organes&action=fiche&num_nom="+$(this).attr('data-num-nom')+"&titre="+encodeURIComponent(titre)+"&url_image="+encodeURIComponent(url_image)+"&referentiel="+REFERENTIEL;
624
		//var url = urlPopup+"?module=popup-galerie-organes&action=fiche&num_nom="+$(this).attr('data-num-nom')+"&titre="+encodeURIComponent(titre)+"&url_image="+encodeURIComponent(url_image)+"&referentiel="+REFERENTIEL;
625
		//alert(url);
625
		//alert(url);
626
		//return false;
626
		//return false;
627
		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));
627
		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));
628
	}); 
628
	});