1var d = new Date(); 2document.getElementById("spYear").innerHTML = d.getFullYear(); 3 4$('.nslider3').owlCarousel({ 5 rtl: true, 6 items: 3, 7 loop: true, 8 margin: 10, 9 autoplay: true, 10 autoplayTimeout: 3000, 11 autoplayHoverPause: true, 12 responsiveClass: true, 13 responsive: { 14 0: { 15 items: 1, 16 }, 17 600: { 18 items: 2, 19 }, 20 1000: { 21 items: 3, 22 loop: false 23 } 24 } 25}); 26 27$('.nslider5').owlCarousel({ 28 rtl: true, 29 items: 5, 30 loop: true, 31 margin: 10, 32 autoplay: true, 33 autoplayTimeout: 3000, 34 autoplayHoverPause: true, 35 responsiveClass: true, 36 responsive: { 37 0: { 38 items: 1, 39 }, 40 400: { 41 items: 2, 42 }, 43 600: { 44 items: 3, 45 }, 46 800: { 47 items: 4, 48 }, 49 1000: { 50 items: 5, 51 loop: false 52 } 53 } 54}); 55 56function MySearch(){if(document.getElementById("tbSearch").value!=""&&document.getElementById("tbSearch").value!="\u062c\u0633\u062a\u062c\u0648 ...")window.location="/Search/"+encodeURIComponent(document.getElementById("tbSearch").value)} 57function handle(h){if(h.which==13||h.keyCode==13)if(document.getElementById("tbSearch").value!=""&&document.getElementById("tbSearch").value!="\u062c\u0633\u062a\u062c\u0648 ...")window.location="/Search/"+encodeURIComponent(document.getElementById("tbSearch").value)}function submitOnEnter(h){if((window.event?window.event.keyCode:h.which)==13)window.location="/Search/"+encodeURIComponent(document.getElementById("tbSearch").value)}; 58 59 $(document).ready(function () { 60 61 var clickEvent = false; 62 $('#topNewsCarousel').carousel({ 63 interval: 4000 64 }).on('click', '.list-group li', function () { 65 clickEvent = true; 66 $('.list-group li').removeClass('active'); 67 $(this).addClass('active'); 68 }).on('slid.bs.carousel', function (e) { 69 if (!clickEvent) { 70 var count = $('.list-group').children().length - 1; 71 var current = $('.list-group li.active'); 72 current.removeClass('active').next().addClass('active'); 73 var id = parseInt(current.data('slide-to')); 74 if (count == id) { 75 $('.list-group li').first().addClass('active'); 76 } 77 } 78 clickEvent = false; 79 }); 80 }); 81 82 $(window).load(function () { 83 var boxheight = $('#topNewsCarousel .carousel-inner').innerHeight(); 84 var itemlength = $('#topNewsCarousel .carousel-item').length; 85 var triggerheight = Math.round(boxheight / itemlength + 1); 86 $('#topNewsCarousel .list-group-item').outerHeight(triggerheight); 87 });
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.