1jQuery( document ).ready( function( $ ) { 2 3 /* Programmation */ 4 $(document).on('click', '.wl-programming > .programming-nav .item:not(.open)', function(e) { 5 e.preventDefault(); 6 7 var $wrapperParent = $(this).parents(".wl-programming"), 8 $parentElem = $(this).parent(), 9 currentClasses = $(this).attr('class').split(' '), 10 currentClass = "." + currentClasses[1]; 11 12 $(".item", $parentElem).removeClass("open"); 13 $('.programming-content > .item.open', $wrapperParent).slideUp( "slow", function(){ 14 $(this).removeClass('open'); 15 16 $( '.programming-content > ' + currentClass, $wrapperParent ).slideDown( "slow", function() { 17 $(this).addClass("open"); 18 }); 19 }); 20 $(this).addClass("open"); 21 22 if ( $(window).width() < 1025 ) { 23 24 $('html, body').animate({ 25 scrollTop: $( ".programming-content", $wrapperParent ).offset().top - 40 26 }, 1000); 27 } 28 }); 29 30 $(document).on('click', '.wl-programming > .programming-content .age-group:not(.open)', function(e) { 31 e.preventDefault(); 32 33 var $parentElem = $(this).parents(".item") 34 $targetElem = $(this); 35 36 $('.age-group.open .programs', $parentElem).slideUp( "slow", function(){ 37 $(this).parent().removeClass('open'); 38 39 $( '.programs', $targetElem ).slideDown( "slow", function() { 40 $targetElem.addClass("open"); 41 }); 42 }); 43 }); 44 45 46 47});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.