Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 966 Rev 971
Line 428... Line 428...
428
//+----------------------------------------------------------------------------------------------------------+
428
//+----------------------------------------------------------------------------------------------------------+
429
// Message de chargement pour les graphique écologie
429
// Message de chargement pour les graphique écologie
430
function gererChargementGraphiqueEcologie() {
430
function gererChargementGraphiqueEcologie() {
431
	$('.ecologie_svg').addClass('chargement');
431
	$('.ecologie_svg').addClass('chargement');
432
}
432
}
-
 
433
 
-
 
434
function gererAffichageLegendeEcologie() {
-
 
435
	$('.voir').live('click', function() {
-
 
436
		$(this).siblings('.legende_graphique').show();
-
 
437
		$(this).siblings('.cacher').show();
-
 
438
		$(this).hide();
-
 
439
	});
-
 
440
	
-
 
441
	$('.cacher').live('click', function() {
-
 
442
		$(this).siblings('.legende_graphique').hide();
-
 
443
		$(this).siblings('.voir').show();
-
 
444
		$(this).hide();
-
 
445
	});
-
 
446
}
-
 
447
 
-
 
448
 
433
//+----------------------------------------------------------------------------------------------------------+
449
//+----------------------------------------------------------------------------------------------------------+
434
// Initialisation
450
// Initialisation
435
var fancyboxinitialise = false;
451
var fancyboxinitialise = false;
436
var param_popup_Coste = {h: 650, w: 550, t: 100, l: 100, 
452
var param_popup_Coste = {h: 650, w: 550, t: 100, l: 100, 
437
		toolbar: 'no', menubar: 'no', location: 'no', resizable: 'yes', scrollbars: 'yes', status: 'no'};
453
		toolbar: 'no', menubar: 'no', location: 'no', resizable: 'yes', scrollbars: 'yes', status: 'no'};
Line 547... Line 563...
547
	tmp.close();
563
	tmp.close();
548
}
564
}
Line 549... Line 565...
549
 
565
 
550
$(document).ajaxStop(function() {
566
$(document).ajaxStop(function() {
-
 
567
	gererChargementGraphiqueEcologie();
551
	gererChargementGraphiqueEcologie();
568
	gererAffichageLegendeEcologie();
552
	if (document.implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#BasicStructure', '1.1') == false) {
569
	if (document.implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#BasicStructure', '1.1') == false) {
553
		$('.svg').each(function() {
570
		$('.svg').each(function() {
554
			alt = $(this).attr('alt');
571
			alt = $(this).attr('alt');
555
			img = document.createElement('img');
572
			img = document.createElement('img');