Subversion Repositories eFlore/Applications.cel-consultation

Rev

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

Rev 2 Rev 3
Line 45... Line 45...
45
 
45
 
46
function initialiserLazyLoading() { 
46
function initialiserLazyLoading() { 
47
	$("img").lazyload();
47
	$("img").lazyload();
Line -... Line 48...
-
 
48
}
-
 
49
 
-
 
50
function initialiserPanneauRechercheAvancee() {
-
 
51
	
-
 
52
	$("#afficher_cacher_aide").bind('click', function() {
-
 
53
		
-
 
54
		if($("#ref-rech-opt").is(':visible')) {
-
 
55
			$('#ref-rech-opt').slideUp('slow', function() {
-
 
56
				$("#afficher_cacher_aide").html("Afficher l'aide")
-
 
57
			});
-
 
58
		} else {
-
 
59
			$('#ref-rech-opt').slideDown('slow', function() {
-
 
60
				$("#afficher_cacher_aide").html("Cacher l'aide");
-
 
61
			});
-
 
62
		}
-
 
63
	});
-
 
64
	
-
 
65
	$("#ref-rech-opt").hide();
48
}
66
}
49
 
67
 
50
$(document).ready(function() {
68
$(document).ready(function() {
51
	reparerLiensDD();
69
	reparerLiensDD();
-
 
70
	initialiserZoom();
52
	initialiserZoom();
71
	initialiserElementsPliables();
53
	initialiserElementsPliables();
72
	initialiserPanneauRechercheAvancee();
54
	initialiserLazyLoading();
73
	initialiserLazyLoading();