New file |
0,0 → 1,31 |
function initialiserElementsPliables() { |
|
$('.pliage h4').addClass('lien_pliage'); |
|
$('.pliage ul').hide(); |
$('.pliage > ul:first-child').hide(); |
|
$('.pliage').bind('click', function() { |
|
$(this).children('ul').slideToggle(); |
return false; |
}); |
} |
|
function initialiserLignesCliquables() { |
|
$('.observations_individu').bind('click', function() { |
|
//$(this).children('td a').click(); |
window.alert($(this).children('td').attr('href')); |
//window.location = $(this).children('td a').attr('href'); |
|
return false; |
}); |
|
} |
|
$(document).ready(function() { |
initialiserElementsPliables(); |
initialiserLignesCliquables(); |
}); |