1/* 2* ||||||||||||||||||||||||||||||||||||||||||||||||||||||||-> PROGRESS BAR (Shortcode) 3*/ 4 5jQuery( document ).ready(function() { 6 7 jQuery(function () { 8 jQuery('[data-toggle="tooltip"]').tooltip({trigger: 'manual'}).tooltip('show'); 9 }); 10 11 jQuery( window ).scroll(function() { 12 // if($( window ).scrollTop() > 10){ scroll down abit and get the action 13 jQuery(".progress-bar ").each(function(){ 14 each_bar_width = jQuery(this).attr('aria-valuenow'); 15/* jQuery(this).width(each_bar_width + '%'); 16*/ jQuery( this ).css( "width", each_bar_width + '%' ); 17 }); 18 19 // } 20 }); 21 22 jQuery( ".cd-pricing-switcher .monthly-label" ).on( "click", function() { 23 jQuery( ".cd-pricing-switcher .yearly-label" ).removeClass('active'); 24 jQuery(this).addClass('active'); 25 jQuery('.package_price_per_year-parent').hide(); 26 jQuery('.package_price_per_month-parent').show(); 27 }); 28 jQuery( ".cd-pricing-switcher .yearly-label" ).on( "click", function() { 29 jQuery( ".cd-pricing-switcher .monthly-label" ).removeClass('active'); 30 jQuery(this).addClass('active'); 31 jQuery('.package_price_per_month-parent').hide(); 32 jQuery('.package_price_per_year-parent').show(); 33 }); 34 35 //horizontal pricing table 36 jQuery('.pricing__feature-list').children('li').on("hover",function() { 37 var index = jQuery(this).index() + 1; 38 jQuery('.pricing__feature-list li:nth-child(' + index + ')').toggleClass( "highlight" ); 39 }); 40 41 // Perform AJAX login on form submit 42 jQuery('form#login').on('submit', function(e){ 43 jQuery('form#login p.status').show().text(ajax_login_object.loadingmessage); 44 jQuery.ajax({ 45 type: 'POST', 46 dataType: 'json', 47 url: ajax_login_object.ajaxurl, 48 data: { 49 'action': 'ajaxlogin', //calls wp_ajax_nopriv_ajaxlogin 50 'username': jQuery('form#login #username').val(), 51 'password': jQuery('form#login #password').val(), 52 'security': jQuery('form#login #security').val() }, 53 success: function(data){ 54 jQuery('form#login p.status').text(data.message); 55 if (data.loggedin == true){ 56 document.location.href = ajax_login_object.redirecturl; 57 } 58 } 59 }); 60 e.preventDefault(); 61 }); 62 63 jQuery(".mt_members1").owlCarousel({ 64 navigation : true, // Show next and prev buttons 65 navigationText: [ 66 "<i class='fa fa-angle-left' aria-hidden='true'></i>", 67 "<i class='fa fa-angle-right' aria-hidden='true'></i>" 68 ], 69 pagination : false, 70 autoPlay : false, 71 slideSpeed : 700, 72 paginationSpeed : 700, 73 singleItem : false, 74 itemsCustom : [ 75 [0, 2], 76 [450, 2], 77 [600, 2], 78 [700, 2], 79 [1000, 3], 80 [1200, 4], 81 [1400, 4], 82 [1600, 4] 83 ] 84 }); 85 86 /* 87 * ||||||||||||||||||||||||||||||||||||||||||||||||||||||||-> CLIENTS SLIDER (Shortcode) 88 */ 89 jQuery(".clients_container_shortcode-1").owlCarousel({ 90 navigation : false, // Show next and prev buttons 91 pagination : false, 92 autoPlay : false, 93 slideSpeed : 700, 94 paginationSpeed : 700, 95 autoPlay : true, 96 autoPlayTimeout:10000, 97 autoPlayHoverPause:true, 98 itemsCustom : [ 99 [0, 1], 100 [450, 1], 101 [600, 1], 102 [700, 1], 103 [1000, 1], 104 [1200, 1], 105 [1400, 1], 106 [1600, 1] 107 ] 108 }); 109 jQuery(".clients_container_shortcode-2").owlCarousel({ 110 navigation : false, // Show next and prev buttons 111 pagination : false, 112 autoPlay : false, 113 slideSpeed : 700, 114 paginationSpeed : 700, 115 autoPlay : true, 116 autoPlayTimeout:10000, 117 autoPlayHoverPause:true, 118 itemsCustom : [ 119 [0, 1], 120 [450, 1], 121 [600, 2], 122 [700, 2], 123 [1000, 2], 124 [1200, 2], 125 [1400, 2], 126 [1600, 2] 127 ] 128 }); 129 jQuery(".clients_container_shortcode-3").owlCarousel({ 130 navigation : false, // Show next and prev buttons 131 pagination : false, 132 autoPlay : false, 133 slideSpeed : 700, 134 paginationSpeed : 700, 135 autoPlay : true, 136 autoPlayTimeout:10000, 137 autoPlayHoverPause:true, 138 itemsCustom : [ 139 [0, 1], 140 [450, 1], 141 [600, 2], 142 [700, 2], 143 [1000, 3], 144 [1200, 3], 145 [1400, 3], 146 [1600, 3] 147 ] 148 }); 149 150 jQuery(".clients_container_shortcode-4").owlCarousel({ 151 navigation : false, // Show next and prev buttons 152 pagination : false, 153 autoPlay : false, 154 slideSpeed : 700, 155 paginationSpeed : 700, 156 autoPlay : true, 157 autoPlayTimeout:10000, 158 autoPlayHoverPause:true, 159 itemsCustom : [ 160 [0, 1], 161 [450, 1], 162 [600, 2], 163 [700, 3], 164 [1000, 4], 165 [1200, 4], 166 [1400, 4], 167 [1600, 4] 168 ] 169 }); 170 171 172 jQuery(".clients_container_shortcode-5").owlCarousel({ 173 navigation : false, // Show next and prev buttons 174 pagination : false, 175 autoPlay : false, 176 slideSpeed : 700, 177 paginationSpeed : 700, 178 autoPlay : true, 179 autoPlayTimeout:10000, 180 autoPlayHoverPause:true, 181 itemsCustom : [ 182 [0, 1], 183 [450, 2], 184 [600, 2], 185 [700, 5], 186 [1000, 6], 187 [1200, 6], 188 [1400, 5], 189 [1600, 5] 190 ] 191 }); 192 193 /*Begin: Products Carousel slider*/ 194 jQuery(".modeltheme_products_carousel").owlCarousel({ 195 navigation : false, // Show next and prev buttons 196 pagination : false, 197 autoPlay : true, 198 slideSpeed : 700, 199 paginationSpeed : 700, 200 itemsCustom : [ 201 [0, 1], 202 [450, 2], 203 [600, 2], 204 [700, 3], 205 [1000, 3], 206 [1200, 3], 207 [1400, 3], 208 [1600, 3] 209 ] 210 }); 211 212 if(jQuery('.modeltheme-breadcrumbs').lenght) { 213 jQuery('.modeltheme-breadcrumbs a[href*=#].scroll-down').on('click', function(e) { 214 e.preventDefault(); 215 jQuery('html, body').animate({ scrollTop: jQuery(jQuery(this).attr('href')).offset().top}, 500, 'linear'); 216 }); 217 } 218 219 220 221 222 223}); 224 225(function() { 226 [].slice.call( document.querySelectorAll( ".mt-tabs .tabs" ) ).forEach( function( el ) { 227 new CBPFWTabs( el ); 228 }); 229 230})();
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.