1jQuery(document).ready(function ($) { 2 3// ========================================================================== 4// SOMMAIRE 5// ========================================================================== 6 7 // 1= Configuration de la navigation 8 // 2= Configuration des médias 9 // 3= Configuration des formulaires 10 // 4= Configuration de la structure du site 11 // 5= Configuration du eachpost pour les liens 12 // 6= Configuration du responsive 13 // 7= Configuration du matchHeight 14 15// ========================================================================== 16// 1= CONFIGURATION DE LA NAVIGATION - Menu principal, pagination, effets... 17// ========================================================================== 18 19 20 // MENU PRINCIPAL 21 // Ajouter une class active à l'onglet parent 22 $('li.menu-item-has-children ul').on('mouseover', function () { 23 $(this).parent().addClass('active'); 24 }).on('mouseout', function () { 25 $(this).parent().removeClass('active'); 26 }); 27 28 // Configuration du menu fixed + bouton retour en haut de page 29 $(window).trigger('scroll'); 30 $(window).scroll(function (event) { 31 // Valeur de défilement lors du chargement de la page 32 windowScroll = $(window).scrollTop(); 33 // Mise à jour du positionnement en fonction du scroll 34 if (windowScroll >= 300) { 35 $('#header').addClass('fixed-menu'); 36 $('.return-top').addClass('visible'); 37 } else { 38 //on repositionne l'élément en haut de page pour pas dépasser 39 $('#header').removeClass('fixed-menu'); 40 $('.return-top').removeClass('visible'); 41 } 42 }) 43 44 // SMOOTH SCROLL - Configuration d'un scroll smooth 45 $('.return-top a').click(function () { 46 $("html, body").animate({scrollTop: 0}, 1000); 47 return false; 48 }); 49 $('.link-comments').on('click', function () { // Au clic sur un élément 50 var page = $(this).attr('href'); // Page cible 51 var speed = 1000; // Durée de l'animation (en ms) 52 $('html, body').animate({scrollTop: $(page).offset().top}, speed); // Go 53 return false; 54 }); 55 /*$('.main-content .box-info.box-recette a').click(function(){ 56 $("html, body").animate({ scrollTop: 0 }, 1000); 57 return false; 58 });*/ 59 60 $(function () { 61 $('a[href*="#"]:not([href="#"])').click(function () { 62 if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) { 63 var target = $(this.hash); 64 target = target.length ? target : $('[name=' + this.hash.slice(1) + ']'); 65 if (target.length) { 66 $('html, body').animate({ 67 scrollTop: target.offset().top 68 }, 1000); 69 return false; 70 } 71 } 72 }); 73 }); 74 75 76// ========================================================================== 77// 9= MENU RESPONSIVE 78// ========================================================================== 79 80 // Menu responsive 81 $(".btn-responsive").click(function () { 82 $("#navigation").toggleClass("menu-responsive-open"); 83 //$( "#navigation" ).prepend( "<button class='close-menu-responsive icon icon-close'></button>" ); 84 //$( ".close-menu-responsive" ).click(function() { 85 $(this).parent().removeClass("menu-responsive-open"); 86 //$( this ).remove( ".close-menu-responsive" ); 87 //}); 88 $("body").toggleClass("body-menu-responsive-open"); 89 }); 90 91 if ($(window).width() < 1280) { 92 // Configuration du menu fixed + bouton retour en haut de page 93 $(window).trigger('scroll'); 94 $(window).scroll(function (event) { 95 // Valeur de défilement lors du chargement de la page 96 windowScroll = $(window).scrollTop(); 97 // Mise à jour du positionnement en fonction du scroll 98 if (windowScroll >= 300) { 99 $('#header').addClass('fixed-menu-responsive'); 100 $('.return-top-responsive').addClass('visible'); 101 } else { 102 //on repositionne l'élément en haut de page pour pas dépasser 103 $('#header').removeClass('fixed-menu-responsive'); 104 $('.return-top-responsive').removeClass('visible'); 105 } 106 }) 107 } 108 109 if ($(window).width() < 600) { 110 111 setTimeout(function () { 112 $('.sub-menu').each(function (index) { 113 if (index === 0) { 114 $(this).children('div').children('li').children('.sub-menu').hide(); 115 $(this).children('div').children('li').children('a').click(function (e) { 116 e.preventDefault(); 117 $('.sub-menu').each(function (i) { 118 if (i === 0) { 119 $(this).children('div').children('li').children('.sub-menu').slideUp("easing"); 120 } 121 }); 122 if ($(window).width() < 480) { 123 $(".menu-principal-container li:nth-child(3)").children(".sub-menu").each(function (index) { 124 if (index == 1) { 125 $(this).hide(); 126 } 127 }); 128 $(".menu-principal-container li:nth-child(4)").children(".sub-menu").each(function (index) { 129 if (index == 1) { 130 $(this).hide(); 131 } 132 }); 133 } 134 if ($(this).parent().children('.sub-menu').is(":hidden")) { 135 $(this).parent().children('.sub-menu').slideDown("easing"); 136 } else { 137 $(this).parent().children('.sub-menu').slideUp("easing"); 138 } 139 }); 140 141 // $(this).children('div').children('li').children('a').click(function(e) { 142 // e.preventDefault(); 143 // if(!$(this).parent().next().children('.sub-menu').is( ":hidden" ) ) { 144 // $(this).parent().next().children('.sub-menu').slideUp( "easing" ); 145 // } 146 // return false;
147 // }); 148 149 // $(this).children('div').children('li').children('a').click(function(e) { 150 // e.preventDefault(); 151 // if(!$(this).parent().prev().children('.sub-menu').is( ":hidden" ) ) { 152 // $(this).parent().prev().children('.sub-menu').slideUp( "easing" ); 153 // } 154 // return false; 155 // }); 156 157 } 158 }); 159 160 if ($(window).width() < 480) { 161 $('.sub-menu').each(function (i) { 162 if (i === 0) { 163 $(this).children('div').children('li').children('.sub-menu').slideUp("easing"); 164 } 165 }); 166 $(".menu-principal-container li:nth-child(3)").children(".sub-menu").each(function (index) { 167 if (index == 1) { 168 $(this).hide(); 169 } 170 }); 171 $("#menu-principal li:nth-child(2) a").each(function (index) { 172 if ($(this).children("span").text() == "Recettes") { 173 $(this).parent().children("ul").hide(); 174 } 175 }); 176 $(".menu-principal-container li:nth-child(4)").children(".sub-menu").each(function (index) { 177 if (index == 1) { 178 $(this).hide(); 179 } 180 }); 181 $(".menu-principal-container li:nth-child(3)").click(function (event) { 182 if ($(this).children('a').children('span').text() == "Communauté") { 183 if (!$(event.target).parent().is('a') && !$(event.target).is('a')) { 184 event.preventDefault(); 185 $(".menu-principal-container li:nth-child(4)").children(".sub-menu").each(function (index) { 186 if (index == 1) { 187 $(this).slideUp("easing"); 188 } 189 }); 190 $('.sub-menu').each(function (i) { 191 if (i === 0) { 192 $(this).children('div').children('li').children('.sub-menu').slideUp("easing"); 193 } 194 }); 195 if ($(this).children(".sub-menu").is(":hidden")) { 196 $(this).children(".sub-menu").slideDown("easing"); 197 } else { 198 $(this).children(".sub-menu").slideUp("easing"); 199 } 200 } 201 } 202 }); 203 $(".menu-principal-container li:nth-child(4)").click(function (event) { 204 if ($(this).children('a').children('span').text() == "Omnicuiseur Vitalité") { 205 if (!$(event.target).parent().is('a') && !$(event.target).is('a')) { 206 event.preventDefault(); 207 $(".menu-principal-container li:nth-child(3)").children(".sub-menu").each(function (index) { 208 if (index == 1) { 209 $(this).slideUp("easing"); 210 } 211 }); 212 $('.sub-menu').each(function (i) { 213 if (i === 0) { 214 $(this).children('div').children('li').children('.sub-menu').slideUp("easing"); 215 } 216 }); 217 if ($(this).children(".sub-menu").is(":hidden")) { 218 $(this).children(".sub-menu").slideDown("easing"); 219 } else { 220 $(this).children(".sub-menu").slideUp("easing"); 221 } 222 } 223 } 224 }); 225 $("#menu-principal li:nth-child(2)").click(function (e) { 226 if ($(this).children("a").children("span").text() == "Recettes" && !$(e.target).is($(".menu-image-title")) && !$(e.target).is($(".menu-image-title-after"))) { 227 $(this).children('ul').each(function (index) { 228 if (index == 0) { 229 if (!$(e.target).is($(this)) && !$(e.target).is($(this).parent().children('a'))) { 230 e.preventDefault(); 231 if ($(this).is(":hidden")) { 232 $(this).slideDown("easing"); 233 } else { 234 $(this).slideUp("easing"); 235 } 236 } 237 } 238 }); 239 } 240 }); 241 } 242 243 }, 500); 244 245 246 (function ($) { 247 248 var allPanels = $('.accordion .link').hide(); 249 250 $('.accordion > p > span').click(function () { 251 $('.accordion .link').slideUp("easing"); 252 if ($(this).parent().parent().children('.link').is(":hidden")) { 253 $(this).parent().parent().children('.link').slideDown("easing"); 254 } else { 255 $(this).parent().parent().children('.link').slideUp("easing"); 256 } 257 258 return false; 259 }); 260 261 })(jQuery); 262 263 264 } 265 266 if ($(window).width() < 480) { 267 268 (function ($) { 269 270 var allPanels2 = $('.accordion .link2').hide(); 271 272 $('.accordion > p').click(function () { 273 $('.accordion .link2').slideUp("easing"); 274 if ($(this).parent().children('.link2').is(":hidden")) { 275 $(this).parent().children('.link2').slideDown("easing"); 276 } else { 277 $(this).parent().children('.link2').slideUp("easing"); 278 } 279 280 return false;
281 }); 282 283 })(jQuery); 284 285 } 286 287 288 // ========================================================================== 289// 9= CONFIGURATION DU BIG MENU 290// ========================================================================== 291 292 // Big menu 293 /*$( "#navigation ul#menu-principal > li.big-menu > ul" ).prepend( "<li class='row'>test" ); 294 $( "#navigation ul#menu-principal > li.big-menu > ul" ).append( "allo</li>" ); */ 295 296 var html = "<div class='row'>"; 297 html += $("#navigation ul#menu-principal > li.big-menu > ul").html(); 298 html += "</div>"; 299 $("#navigation ul#menu-principal > li.big-menu > ul").empty(); 300 //console.log($("#navigation ul#menu-principal > li.big-menu > ul").html()); 301 $("#navigation ul#menu-principal > li.big-menu > ul").html(html); 302 303 // Big menu 2 304 /*$( "#navigation ul#menu-principal > li.big-menu > ul" ).prepend( "<li class='row'>test" ); 305 $( "#navigation ul#menu-principal > li.big-menu > ul" ).append( "allo</li>" ); */ 306 307 var html2 = "<div class='row'>"; 308 html2 += $("#navigation ul#menu-principal > li.big-menu2 > ul").html(); 309 html2 += "</div>"; 310 $("#navigation ul#menu-principal > li.big-menu2 > ul").empty(); 311 //console.log($("#navigation ul#menu-principal > li.big-menu2 > ul").html2()); 312 $("#navigation ul#menu-principal > li.big-menu2 > ul").html(html2); 313 314 // Big menu 3 315 var html3 = "<div class='row'>"; 316 html3 += $("#navigation ul#menu-principal > li.big-menu3 > ul").html(); 317 html3 += "</div>"; 318 $("#navigation ul#menu-principal > li.big-menu3 > ul").empty(); 319 //console.log($("#navigation ul#menu-principal > li.big-menu3 > ul").html3()); 320 $("#navigation ul#menu-principal > li.big-menu3 > ul").html(html3); 321 322 323// ========================================================================== 324// 2= CONFIGURATION MEDIAS - Galerie, slider, vidéos... 325// ========================================================================== 326 327 // Configuration baguette.js pour galerie interne WordPress 328 baguetteBox.run('.gallery'); 329 330 $("iframe[src*='www.youtube']").wrap("<div class='video-container'></div>"); 331 332 // à décommenter si vous utilisez SLICK 333 334 $('.home-posts-slides').slick({ 335 slide: ".home-post-slide", 336 slidesToShow: 1, 337 slidesToScroll: 1, 338 infinite: true, 339 adaptiveHeight: true, 340 autoplay: true, 341 autoplaySpeed: 6000, 342 swipe: true, 343 swipeToSlide: true, 344 dots: true, 345 arrows: false, 346 responsive: [ 347 { 348 breakpoint: 960, 349 settings: { 350 slidesToShow: 1, 351 slidesToScroll: 1 352 } 353 } 354 ] 355 }); 356 357 $('.actu-archive-loop .main-content').slick({ 358 slide: ".loop-actu-search", 359 slidesToShow: 3, 360 slidesToScroll: 3, 361 infinite: true, 362 adaptiveHeight: true, 363 autoplay: true, 364 autoplaySpeed: 6000, 365 //swipe: true, 366 //swipeToSlide: true, 367 dots: true, 368 arrows: false, 369 responsive: [ 370 { 371 breakpoint: 960, 372 settings: { 373 slidesToShow: 2, 374 slidesToScroll: 2 375 } 376 }, 377 { 378 breakpoint: 600, 379 settings: { 380 slidesToShow: 1, 381 slidesToScroll: 1 382 } 383 } 384 ] 385 }); 386 387 $('.tag .recette-archive-loop').slick({ 388 slide: ".loop-actu-search", 389 slidesToShow: 3, 390 slidesToScroll: 3, 391 infinite: true, 392 adaptiveHeight: true, 393 autoplay: true, 394 autoplaySpeed: 6000, 395 //swipe: true, 396 //swipeToSlide: true, 397 dots: true, 398 arrows: false, 399 responsive: [ 400 { 401 breakpoint: 960, 402 settings: { 403 slidesToShow: 2, 404 slidesToScroll: 2 405 } 406 }, 407 { 408 breakpoint: 600, 409 settings: { 410 slidesToShow: 1, 411 slidesToScroll: 1 412 } 413 } 414 ] 415 }); 416 417 if ($(window).width() < 1040) { 418 419 $('.home-season .recette-archive-loop').slick({ 420 slide: ".loop", 421 slidesToShow: 3, 422 slidesToScroll: 1, 423 infinite: true, 424 adaptiveHeight: true, 425 swipe: true, 426 swipeToSlide: true, 427 dots: true, 428 arrows: false, 429 responsive: [ 430 { 431 breakpoint: 960, 432 settings: { 433 slidesToShow: 2, 434 slidesToScroll: 2 435 } 436 }, 437 { 438 breakpoint: 600, 439 settings: { 440 slidesToShow: 1, 441 slidesToScroll: 1 442 } 443 } 444 ] 445 }); 446 447 $('.home-recipe .recette-archive-loop').slick({ 448 slide: ".loop", 449 slidesToShow: 3, 450 slidesToScroll: 1, 451 infinite: true, 452 adaptiveHeight: true, 453 swipe: true, 454 swipeToSlide: true, 455 dots: true,
456 arrows: false, 457 responsive: [ 458 { 459 breakpoint: 960, 460 settings: { 461 slidesToShow: 2, 462 slidesToScroll: 2 463 } 464 }, 465 { 466 breakpoint: 600, 467 settings: { 468 slidesToShow: 1, 469 slidesToScroll: 1 470 } 471 } 472 ] 473 }); 474 475 $('.recette-archive-loop .archive-best-recipes').slick({ 476 slide: ".loop", 477 slidesToShow: 3, 478 slidesToScroll: 1, 479 infinite: true, 480 adaptiveHeight: true, 481 swipe: true, 482 swipeToSlide: true, 483 dots: true, 484 arrows: false, 485 responsive: [ 486 { 487 breakpoint: 960, 488 settings: { 489 slidesToShow: 2, 490 slidesToScroll: 2 491 } 492 }, 493 { 494 breakpoint: 600, 495 settings: { 496 slidesToShow: 1, 497 slidesToScroll: 1 498 } 499 } 500 ] 501 }); 502 503 } 504 505 if ($(window).width() < 960) { 506 507 $('.post-nav .post-nav-posts').slick({ 508 slide: ".loop", 509 slidesToShow: 2, 510 slidesToScroll: 1, 511 infinite: true, 512 adaptiveHeight: true, 513 swipe: true, 514 swipeToSlide: true, 515 dots: true, 516 arrows: false, 517 responsive: [ 518 { 519 breakpoint: 600, 520 settings: { 521 slidesToShow: 1, 522 slidesToScroll: 1 523 } 524 } 525 ] 526 }); 527 528 $('.yarpp-related-widget .recette-archive-loop').slick({ 529 slide: ".loop-recette-simple", 530 slidesToShow: 2, 531 slidesToScroll: 1, 532 infinite: true, 533 adaptiveHeight: true, 534 swipe: true, 535 swipeToSlide: true, 536 dots: true, 537 arrows: false, 538 responsive: [ 539 { 540 breakpoint: 600, 541 settings: { 542 slidesToShow: 1, 543 slidesToScroll: 1 544 } 545 } 546 ] 547 }); 548 549 } 550 551 if ($(window).width() < 600) { 552 553 $('.home-regime .recette-archive-loop').slick({ 554 slide: ".loop-recette-home", 555 slidesToShow: 1, 556 slidesToScroll: 1, 557 infinite: true, 558 adaptiveHeight: true, 559 swipe: true, 560 swipeToSlide: true, 561 dots: true, 562 arrows: false, 563 responsive: [ 564 { 565 breakpoint: 600, 566 settings: { 567 slidesToShow: 1, 568 slidesToScroll: 1 569 } 570 } 571 ] 572 }); 573 574 } 575 576 577 /*$('.double-item').each(function(){ 578 nbEnfant = $(this).find('.loop-post').length; 579 $(this).addClass('nb-item-'+nbEnfant); 580 if(nbEnfant < 2 ){ 581 slidesToShowDesktop = nbEnfant; 582 slidesToScrollDesktop = nbEnfant; 583 slidesToShowTablet = nbEnfant; 584 slidesToScrollTablet = nbEnfant; 585 slidesToShowMobile = nbEnfant; 586 slidesToScrollMobile = nbEnfant; 587 } else { 588 slidesToShowDesktop = 2; 589 slidesToScrollDesktop = 2; 590 slidesToShowTablet = 2; 591 slidesToScrollTablet = 2; 592 slidesToShowMobile = 1; 593 slidesToScrollMobile = 1; 594 } 595 $(this).slick({ 596 dots: false, 597 autoplay: true, 598 infinite: true, 599 speed: 300, 600 slidesToShow: slidesToShowDesktop, 601 slidesToScroll: slidesToScrollDesktop, 602 arrows: true, 603 prevArrow: '<span class="slick-prev"><span class="icon icon-arrow-left"></span></span>', 604 nextArrow: '<span class="slick-next"><span class="icon icon-arrow-right"></span></span>', 605 responsive: [ 606 { 607 breakpoint: 1201, 608 settings: { 609 slidesToShow: slidesToShowTablet, 610 slidesToScroll: slidesToScrollTablet 611 } 612 }, 613 { 614 breakpoint: 961, 615 settings: { 616 slidesToShow: slidesToShowMobile, 617 slidesToScroll: slidesToScrollMobile 618 } 619 } 620 ] 621 }); 622 }) 623 */ 624 625// ========================================================================== 626// 3= CONFIGURATION DES FORMULAIRES 627// ========================================================================== 628 629 // GRAVITYFORM - Ajouter la class de taille au balise li 630 var $classInput, $classLiInput; 631 $(".gfield input").each(function () { 632 $classInput = $(this).attr("class"); 633 $classLiInput = $(this).parent().parent().addClass($classInput); 634 }); 635 636// ========================================================================== 637// 4= CONFIGURATION DE LA STRUCTURE DU SITE 638// ========================================================================== 639 640 // Ajout des class last et first 641 $("#ID").each(function (index) { 642 $(this).find(".post:nth-child(3n+1)").addClass("last"); 643 }); 644 645 // Ajout des class odd et even 646 $("#ID").addClass("odd"); 647 $("#ID").addClass("even"); 648 649 // Configuration content bottom blog - à décommenter si vous utilisez 650 /* 651 $('.tab-selector a').click(function() { 652 $('.tab-selector a').removeClass('active'); 653 $('.post-meta-tabs .tab').hide(); 654 return false;
655 }); 656 657 $('.tab-selector .tab-comments-toggle').click(function() { 658 $(this).addClass('active'); 659 $('.post-meta-tabs .tab-comments').show(); 660 }); 661 662 $('.tab-selector .tab-post-meta-toggle').click(function() { 663 $(this).addClass('active'); 664 $('.post-meta-tabs .tab-post-meta').show(); 665 }); 666 667 $('.tab-selector .tab-author-meta-toggle').click(function() { 668 $(this).addClass('active'); 669 $('.post-meta-tabs .tab-author-meta').show(); 670 }); 671 */ 672 673// ========================================================================== 674// 5= CONFIGURATION EACHPOST 675// ========================================================================== 676 677 function eachpostB2w(classTexte) { 678 $(".eachpost").mouseover(function (e) { 679 $(this).css("cursor", "pointer").find("a"); 680 }) 681 .mouseout(function () { 682 $(this).find("a").css("text-decoration", "none"); 683 }) 684 .click(function (e) { 685 if (typeof jQuery(e.target).attr('href') != "undefined") { 686 document.location.href = jQuery(e.target).attr('href'); 687 e.preventDefault(); 688 } else if (jQuery(e.target).is(classTexte) || jQuery.contains(jQuery(e.target).closest(".eachpost").children(classTexte)[0], e.target)) { 689 var ab2w = jQuery(e.target).closest(".eachpost").children(".loop-post-image").children("a").attr('href'); 690 document.location.href = ab2w; 691 e.preventDefault(); 692 } 693 // }else if(jQuery(e.target).is(classAuthor) || jQuery.contains(jQuery(classAuthor)[0],e.target)){ 694 // var ab2w = jQuery(e.target).closest( ".eachpost" ).children(".loop-post-image").children("a").attr('href'); 695 // document.location.href = ab2w;e.preventDefault(); 696 // } 697 }); 698 } 699 700 //$(function(){ 701 //eachpostB2w('.img-author', '.loop-recette-texte'); 702 eachpostB2w('.loop-recette-texte'); 703 //}); 704 705 // setClick = function() { 706 // jQuery(".listings_all", "main").on("click", "li", function(e) { 707 // var n = jQuery(this).children("a"), 708 // o = n.attr("href"); 709 // "_blank" == n.attr("target") ? window.open(o, "_blank") : document.location.href = o, e.preventDefault() 710 // }) 711 712 713 /* window.open( 714 'https://support.wwf.org.uk/earth_hour/index.php?type=individual', 715 '_blank' // <- This is what makes it open in a new window. 716 );*/ 717 718// ========================================================================== 719// 6= CONFIGURATION DU RESPONSIVE 720// ========================================================================== 721 722 // Ajouter une div autour des balises table 723 $('body').each(function (index) { 724 $(this) 725 .find('table') 726 .wrap('<div class="table-responsive"></div>'); 727 }); 728 729 730// ========================================================================== 731// 7= RECETTE - Ajouter un li après 11 recettes 732// ========================================================================== 733 734 if ($(window).width() < 960) { 735 736 $("#list-recette").each(function (index) { 737 $(this).find("article:nth-child(14)").after("<article class='loop bloc-sharerecipe'><a href='https://www.magazine-omnicuiseur.fr/deposer-recette' title='Cliquez ici pour nous envoyer votre recette' target='_blank'><span class='icon icon-recipe'></span><span class='title'>Déposez votre recette</span><p>Vous avez une recette originale ? Partagez-la nous !</p><a href='https://www.magazine-omnicuiseur.fr/deposer-recette' title='Cliquez ici pour nous envoyer votre recette' target='_blank' class='arrow'><span class='icon-circle-down'></span></a></a></article>"); 738 }); 739 740 } else { 741 742 $("#list-recette").each(function (index) { 743 $(this).find("article:nth-child(15)").after("<article class='loop bloc-sharerecipe'><a href='https://www.magazine-omnicuiseur.fr/deposer-recette' title='Cliquez ici pour nous envoyer votre recette' target='_blank'><span class='icon icon-recipe'></span><span class='title'>Déposez votre recette</span><p>Vous avez une recette originale ? Partagez-la nous !</p><a href='https://www.magazine-omnicuiseur.fr/deposer-recette' title='Cliquez ici pour nous envoyer votre recette' target='_blank' class='arrow'><span class='icon-circle-down'></span></a></a></article>"); 744 }); 745 746 } 747 748 749// ========================================================================== 750// 8= CONFIGURATION DU MATCHHEIGHT 751// ========================================================================== 752 753 // A commenter si vous n'utilisez pas 754 if ($(window).width() < 1041) { 755 $('#ID').matchHeight(); 756 } 757 $('.text-recette h2').matchHeight(); 758 $('.loop-recette-texte').matchHeight(); 759 $('.recette-archive-loop .loop').matchHeight(); 760 $('.loop-post .post-text-container h2').matchHeight();
761 //$('.loop .loop-thumbnail').matchHeight(); 762 $('.loop-author .post-text-container h2').matchHeight(); 763 $('.loop-post').matchHeight(); 764 $('.home-bloc-posts-news .match').matchHeight(); 765 766 767}); 768 769 770 771 772
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.