1window.onload = function(){ 2 $("select").change(function(){ 3 $(this).find("option:selected").each(function(){ 4 var optionValue = $(this).attr("value"); 5 $('.article-item_viewport').removeClass('even'); 6 $('.article-item_viewport').removeClass('odd'); 7 if(optionValue == 'All'){ 8 //article-item_viewport 9 var count = $('.article-item').length; 10 console.log(count); 11 for(var i=1; i<=count;i++){ 12 if(i%2 == 0){ 13 $('.article-item:odd').children('a').addClass('odd'); 14 }else{ 15 $('.article-item:even').children('a').addClass('even'); 16 } 17 } 18 }else{ 19 20 var count = $('.'+optionValue).length; 21 for(var i=1; i<=count;i++){ 22 if(i%2 == 0){ 23 $('.'+optionValue+':odd').children('a').addClass('odd'); 24 }else{ 25 $('.'+optionValue+':even').children('a').addClass('even'); 26 } 27 } 28 } 29 }); 30 }).change(); 31}; 32$(document).ready(function(){ 33 $(".tab .tab1").click(function(){ 34 $("#horseprofiletab").css("display","block"); 35 $("#horsehistory").css("display","none"); 36 }); 37 38 $(".tab .tab2").click(function(){ 39 $("#horsehistory").css("display","block"); 40 $("#horseprofiletab").css("display","none"); 41 }); 42 }); 43$(".customAccordion li").click(function () { 44 $(".customAccordion li").removeClass("active"); 45 $(this).addClass("active"); 46}); 47$(".removerFrom").click(function () { 48 $(".vaccinationForm").toggleClass("show"); 49}); 50/* Active Menu */ 51$(".blueBox-listing ul li").click(function () { 52 $(".blueBox-listing ul li.active").removeClass("active"); 53 $(this).addClass('active'); 54}); 55$(document).ready(function () { 56 //toggle the component with class accordion_body 57 $(".accordion_head").click(function () { 58 if ($('.accordion_body').is(':visible')) { 59 $(".accordion_body").slideUp(300); 60 $(".plusminus").text('+'); 61 } 62 if ($(this).next(".accordion_body").is(':visible')) { 63 $(this).next(".accordion_body").slideUp(300); 64 $(this).children(".plusminus").text('+'); 65 } else { 66 $(this).next(".accordion_body").slideDown(300); 67 $(this).children(".plusminus").text('-'); 68 } 69 }); 70 /* Print */ 71 function myFunction() { 72 window.print(); 73 } 74/** Search **/ 75$(".closeSearch").click(function(){ 76 //$("#searchMenu").css("display","none"); 77 $("#searchMenu").slideToggle(); 78}); 79//$("#topSearch").click(function(){ 80 //$("#searchMenu").css("display","block"); 81 //}); 82}); 83/* Active Menu */ 84$(".adviceList li").click(function () { 85 $(".adviceList li.active").removeClass("active"); 86 $(this).addClass('active'); 87}); 88/* if(optionValue){ 89 // $(this)"." + optionValue).addClass("demo_well"); 90 $("." + optionValue).show(); 91 92 93 } else{ 94 $(".article-item--info").css("display", "block"); 95 alert("44444444444444"); 96 } 97 setItemContent();*/ 98function setItemContent(){ 99 $( ".article-item_viewport" ).each(function( index ) { 100 console.log(index ); 101}); 102}
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.