Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 599 Rev 626
Line 521... Line 521...
521
	});
521
	});
522
	gestionBiblio(document);
522
	gestionBiblio(document);
523
}
523
}
Line 524... Line 524...
524
 
524
 
525
//+----------------------------------------------------------------------------------------------------------+
525
//+----------------------------------------------------------------------------------------------------------+
526
// Images CEL
526
// ancienne fonction CEL  
527
function ouvrirPopUpImgCel(event) {
527
function ouvrirPopUpImgCel(event) {
528
	event.preventDefault();
528
	event.preventDefault();
529
	window.open($(this).attr('href'), "Photo "+$(this).children("img").attr("alt"), 
529
	window.open($(this).attr('href'), "Photo "+$(this).children("img").attr("alt"), 
530
		'height=750, width=630, top=100, left=100, toolbar=no, menubar=no, location=no, resizable=yes, scrollbars=yes, status=no');
530
		'height= 750, width= 630, top=100, left=100, toolbar=no, menubar=no, location=no, resizable=yes, scrollbars=yes, status=no');
Line -... Line 531...
-
 
531
}
-
 
532
 
-
 
533
 
-
 
534
//Pop Up images
-
 
535
function ouvrirPopUpImg(event) {
-
 
536
	event.preventDefault();
-
 
537
	window.open($(this).attr('href'),"Photo "+$(this).children("img").attr("alt"),
-
 
538
			'height='+ event.data.h +', width='+ event.data.w +', top='+ event.data.t +', left='+ event.data.l 
-
 
539
			+', toolbar='+ event.data.toolbar +', menubar='+ event.data.menubar +', location='
-
 
540
			+ event.data.location +', resizable='+ event.data.resizable +', scrollbars='+ event.data.scrollbars 
-
 
541
			+', status='+ event.data.status  );
-
 
542
}
531
}
543
 
532
 
544
 
533
//+----------------------------------------------------------------------------------------------------------+
545
//+----------------------------------------------------------------------------------------------------------+
-
 
546
// Initialisation
-
 
547
var fancyboxinitialise = false;
-
 
548
var param_popup_Coste = {h: 650, w: 550, t: 100, l: 100, 
-
 
549
		toolbar: 'no', menubar: 'no', location: 'no', resizable: 'yes', scrollbars: 'yes', status: 'no'};
-
 
550
 
Line 534... Line 551...
534
// Initialisation
551
var param_popup_Cel = {h: 750, w: 630, t: 100, l: 100, 
535
var fancyboxinitialise = false;
552
		toolbar: 'no', menubar: 'no', location: 'no', resizable: 'yes', scrollbars: 'yes', status: 'no'};
536
 
553
 
Line 566... Line 583...
566
			autoDimensions:false,
583
			autoDimensions:false,
567
			width:580
584
			width:580
568
		});
585
		});
569
	});
586
	});
Line 570... Line 587...
570
	
587
	
-
 
588
	$('.lien-image-cel').live('click', param_popup_Cel , ouvrirPopUpImg);
571
	$('.lien-image-cel').live('click', ouvrirPopUpImgCel);
589
	$('.lien-image-coste').live('click', param_popup_Coste , ouvrirPopUpImg);
572
		
590
	
573
	creerMenuOngletsFermes();
591
	creerMenuOngletsFermes();
574
	afficherOngletsPourNiveau();
592
	afficherOngletsPourNiveau();
575
	ajouterTitreSurvolOnglets();
593
	ajouterTitreSurvolOnglets();
576
	redimensionnerOnglets();
594
	redimensionnerOnglets();