Subversion Repositories eFlore/Applications.cel-consultation

Rev

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

Rev 4 Rev 15
Line 8... Line 8...
8
	$('.lien_pliage_invisible').removeClass('lien_pliage_invisible');
8
	$('.lien_pliage_invisible').removeClass('lien_pliage_invisible');
9
	$('.pliage h4').addClass('lien_pliage');
9
	$('.pliage h4').addClass('lien_pliage');
Line 10... Line 10...
10
 
10
 
Line 11... Line 11...
11
	$('.pliage dl').hide();
11
	$('.pliage dl').hide();
Line 12... Line 12...
12
 
12
 
13
	$('.pliage').bind('click', function() {
13
	$('.pliage > h4').bind('click', function() {
14
		
14
		
15
		$(this).children('h4').toggleClass('lien_pliage_deplie');
15
		$(this).toggleClass('lien_pliage_deplie');
16
		$(this).children('dl').slideToggle();
16
		$(this).next().slideToggle();
Line 17... Line 17...
17
		return false;
17
		return false;
Line 38... Line 38...
38
		'transitionOut'		:	'elastic',
38
		'transitionOut'		:	'elastic',
39
		'cyclic'			:	true,
39
		'cyclic'			:	true,
40
	});
40
	});
41
}
41
}
Line -... Line 42...
-
 
42
 
-
 
43
function initialiserLienVoirFicheEfore() {
-
 
44
	$('a.lien_fiche_eflore').click(function(event) {
-
 
45
		event.preventDefault();
-
 
46
		window.open($(this).attr('href'));
-
 
47
	});
-
 
48
}
42
 
49
 
43
function initialiserLazyLoading() { 
50
function initialiserLazyLoading() { 
44
	$("img").lazyload();
51
	$("img").lazyload();
Line 45... Line 52...
45
}
52
}
Line 62... Line 69...
62
	});
69
	});
63
}
70
}
Line 64... Line 71...
64
 
71
 
65
$(document).ready(function() {
72
$(document).ready(function() {
66
	initialiserPanneauRechercheAvancee();
73
	initialiserPanneauRechercheAvancee();
67
	reparerLiensDD();
74
	//reparerLiensDD();
68
	initialiserZoom();
75
	initialiserZoom();
-
 
76
	initialiserElementsPliables();
69
	initialiserElementsPliables();
77
	initialiserLienVoirFicheEfore();
70
	//initialiserLazyLoading();
78
	//initialiserLazyLoading();
71
});
79
});