Subversion Repositories Sites.obs-saisons.fr

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
31 aurelien 1
function initialiserElementsPliables() {
2
 
3
	$('.pliage h4').addClass('lien_pliage');
4
 
5
	$('.pliage ul').hide();
6
	$('.pliage > ul:first-child').hide();
7
 
8
	$('.pliage').bind('click', function() {
9
 
10
		$(this).children('ul').slideToggle();
11
		return false;
12
	});
13
}
14
 
15
function initialiserLignesCliquables() {
16
 
17
	$('.observations_individu').bind('click', function() {
18
 
19
		//$(this).children('td a').click();
20
		window.alert($(this).children('td').attr('href'));
21
		//window.location = $(this).children('td a').attr('href');
22
 
23
		return false;
24
	});
25
 
26
}
27
 
28
$(document).ready(function() {
29
	initialiserElementsPliables();
30
	initialiserLignesCliquables();
31
});