Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1582 Rev 1584
Line 25... Line 25...
25
	// Variables de classe : identifiant, titre, et le HTML du résumé à afficher dans le contenu
25
	// Variables de classe : identifiant, titre, et le HTML du résumé à afficher dans le contenu
26
	this.id = id;
26
	this.id = id;
27
	this.titre;
27
	this.titre;
28
	this.htmlResume;
28
	this.htmlResume;
29
	this.statique = statique;
29
	this.statique = statique;
30
 
-
 
31
	
30
}
Line 32... Line 31...
32
 
31
 
33
function getUrlVars() {
32
function getUrlVars() {
34
    var vars = [], hash;
33
    var vars = [], hash;
35
    var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
34
    var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
Line 552... Line 551...
552
 
551
 
553
$(document).ready(function() {
552
$(document).ready(function() {
554
	gererChargementGraphiqueEcologie();
553
	gererChargementGraphiqueEcologie();
555
	gererAffichageLegendeEcologie();
554
	gererAffichageLegendeEcologie();
556
	gererTemplatesChargementALaDemande();
555
	gererTemplatesChargementALaDemande();
557
	if (document.implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#BasicStructure', '1.1') == false) {
556
	if (document.implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#BasicStructure', '1.1') === false) {
558
		$('.svg').each(function() {
-
 
559
			alt = $(this).attr('alt');
557
		$('.svg').each(function() {
560
			img = document.createElement('img');
558
			var img = document.createElement('img');
561
			img.src = alt;
559
			img.src = $(this).attr('alt');
562
			$(this).replaceWith(img);
560
			$(this).replaceWith(img);
563
		});
561
		});
564
	}
562
	}