1// Hello. 2// 3// This is The Scripts used for ___________ Theme 4// 5// 6 7function main() { 8 9 $(".lien").click(function(){ 10 window.location.href = $(this).parent().attr("href"); 11}); 12(function () { 13 'use strict'; 14 15 /*==================================== 16 Page a Link Smooth Scrolling 17 ======================================*/ 18 19 /*==================================== 20 Menu Active Calling Scroll Spy 21 ======================================*/ 22 $('body').scrollspy({ 23 target: '.navmenu', 24 offset: 80, 25 }); 26 27 28 /* ============================================== 29 Testimonial Slider 30 =============================================== */ 31 32 $(document).ready(function() { 33 window.scrollTo(0,0); 34 $("#testimonial").owlCarousel({ 35 36 navigation : false, // Show next and prev buttons 37 slideSpeed : 300, 38 paginationSpeed : 400, 39 singleItem:true, 40 autoHeight : true 41 42 // "singleItem:true" is a shortcut for: 43 // items : 1, 44 // itemsDesktop : false, 45 // itemsDesktopSmall : false, 46 // itemsTablet: false, 47 // itemsMobile : false 48 49 }); 50 51 }); 52 53//echap key 54$(document).on("keyup", function(event){ if (event.keyCode == 27) {$("div.close").trigger("click")} }); 55// 56 57 58 //scroll to top 59 $(window).scroll(function(){ 60 if ($(this).scrollTop() > 350) { 61 $('.pull-right').fadeIn(); 62 } 63 else { 64 $('.pull-right').fadeOut(); 65 } 66 }); 67 $('.pull-right').click(function(){ 68 $("html, body").animate({ scrollTop: 0 }, 1500, 'easeInSine'); 69 return false; 70 }); 71 72 //scroll bottom top 73 var scrollb = $(".container-fluid"); 74 var fa = $(".fa-bars"); 75 var space = $("#margin-top"); 76 77 space.css("margin-top", "10px"); 78 $(window).scroll(function (){ 79 scrollb.css({ 80 position : 'relative', 81 top : '0px' 82 }); 83 if($(this).scrollTop()>=350) 84 { 85 space.css("margin-top", "250px"); 86 scrollb.css({ 87 position : 'fixed', 88 top : '0px' 89 }); 90 } 91 else { 92 space.css("margin-top", "10px"); 93 scrollb.css("position", "relative"); 94 fa.css("position", "absolute"); 95 } 96 97 }); 98 99}()); 100 101 102} 103main();
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.