Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 502 | Rev 510 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 502 Rev 506
Line 335... Line 335...
335
		module.titre = titre;
335
		module.titre = titre;
Line 336... Line 336...
336
		
336
		
337
		tableauOnglets[identifiantOnglet] = module;
337
		tableauOnglets[identifiantOnglet] = module;
338
	});
338
	});
339
	$(".lien-onglet").each(function() {
339
	$(".lien-onglet").each(function() {
-
 
340
		var urlOnglet = $(this).attr('href');
340
		var adresse_onglet = $(this).attr('href');
341
		urlOnglet = urlOnglet.replace(/index\.php/, "service.php");
341
		var adresse_contenu_onglet = adresse_onglet.replace('action=fiche','action=onglet');
342
		urlOnglet = urlOnglet.replace('action=fiche','action=onglet');
342
		$(this).attr('href', adresse_contenu_onglet);
343
		$(this).attr('href', urlOnglet);
343
	});
344
	});
Line 344... Line 345...
344
}
345
}
345
 
346
 
Line 541... Line 542...
541
// Initialisation
542
// Initialisation
542
var fancyboxinitialise = false;
543
var fancyboxinitialise = false;
Line 543... Line 544...
543
 
544
 
544
//Initialisation
545
//Initialisation
545
$(document).ready(function() {
-
 
546
	$('#zone_onglets li a').each(function() { 
-
 
547
		this.href = this.href.replace(/index\.php/, "service.php");
-
 
548
	});
-
 
549
	
546
$(document).ready(function() {
Line 550... Line 547...
550
	lierModulesEtOnglets();
547
	lierModulesEtOnglets();
Line 551... Line 548...
551
	
548