1 2/*============================================================= 3 Authour URI: www.binarytheme.com 4 License: Commons Attribution 3.0 5 6 http://creativecommons.org/licenses/by/3.0/ 7 8 100% To use For Personal And Commercial Use. 9 IN EXCHANGE JUST GIVE US CREDITS AND TELL YOUR FRIENDS ABOUT US 10 11 ======================================================== */ 12 13(function ($) { 14 "use strict"; 15 var mainApp = { 16 17 main_fun: function () { 18 19 //HOVER DROPDOWN SCRIPTS 20 $('ul.nav li.dropdown').hover(function () { 21 $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn(500); 22 }, function () { 23 $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeOut(500); 24 }); 25 26 try { 27 //TESTIMONIAL & SLIDEER SPEED 28 $('.carousel').carousel({ 29 interval: 4000 //TIME IN MILLI SECONDS 30 }); 31 } catch (e) { 32 33 } 34 35 // PRETTYPHOTO FUNCTION 36 37 try { 38 $("a.preview").prettyPhoto({ 39 social_tools: false 40 }); 41 } catch (e) { 42 43 } 44 45 46 /*==================================== 47 WRITE YOUR SCRIPTS HERE 48 ======================================*/ 49 }, 50 51 initialization: function () { 52 mainApp.main_fun(); 53 54 } 55 56 } 57 // Initializing /// 58 59 $(document).ready(function () { 60 mainApp.main_fun(); 61 }); 62 63}(jQuery));
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.