Subversion Repositories eFlore/Applications.del

Rev

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

Rev 986 Rev 991
Line 34... Line 34...
34
function gererEvenementClicImageSecondaire() {
34
function gererEvenementClicImageSecondaire() {
35
	$('.image_secondaire').click(function(event) {
35
	$('.image_secondaire').click(function(event) {
36
		$('.image_secondaire').removeClass('image_active');
36
		$('.image_secondaire').removeClass('image_active');
Line 37... Line 37...
37
		
37
		
38
		var urlImageSecondaire = $(this).attr('src');
38
		var urlImageSecondaire = $(this).attr('src');
Line 39... Line 39...
39
		urlImageSecondaireAgrandie = urlImageSecondaire.replace('XS','CRS');
39
		urlImageSecondaireAgrandie = urlImageSecondaire.replace('CRX2S','CRS');
40
		
40
		
Line 41... Line 41...
41
		var urlImagePrincipale = $('#image_principale').attr('src');
41
		var urlImagePrincipale = $('#image_principale').attr('src');
42
		urlImagePrincipaleMiniature = urlImagePrincipale.replace('CRS','XS');
42
		urlImagePrincipaleMiniature = urlImagePrincipale.replace('CRS','CRX2S');
43
		
43
		
44
		$(this).addClass('image_active');
44
		$(this).addClass('image_active');