1/* ===================================== 2Template Name: LearnEdu 3Author Name: iThemer 4Author URI: http://ithemer.com/ 5Description: LearnEdu is a Education & Courses Template. 6Version: 1.0 7========================================*/ 8/*======================================= 9[Start Activation Code] 10========================================= 11* Sticky Header JS 12* Mobile Menu JS 13* Slider Active JS 14* Circle Progress JS 15* Testimonial Slider JS 16* CounterUp JS 17* Faqs JS 18* Video Popup JS 19* Blog Slider JS 20* Masonry JS 21* Parallax JS 22* Wow JS 23* Scroll JS 24* Scroll Up JS 25* Preloader JS 26========================================= 27[End Activation Code] 28=========================================*/ 29(function($) { 30 "use strict"; 31 $(document).on('ready', function() { 32 33 /*==================================== 34 Sticky Header JS 35 ======================================*/ 36 jQuery(window).on('scroll', function() { 37 if ($(this).scrollTop() > 100) { 38 $('.header').addClass("sticky"); 39 } else { 40 $('.header').removeClass("sticky"); 41 } 42 }); 43 44 /*==================================== 45 Mobile Menu JS 46 ======================================*/ 47 $('.menu').slicknav({ 48 prependTo:".mobile-menu", 49 duration: 600, 50 closeOnClick:true 51 }); 52 /*==================================== 53 Bangabandhu mobile JS 54 ======================================*/ 55 56 /*==================================== 57 Slider Active JS 58 ======================================*/ 59 $('.slider-active').owlCarousel({ 60 autoplay:true, 61 autoplayTimeout:3500, 62 autoplayHoverPause:true, 63 items:1, 64 smartSpeed: 600, 65 loop:true, 66 merge:true, 67 nav:true, 68 dots:false, 69 navText: ['<i class="fa fa-angle-left" aria-hidden="true"></i>', '<i class="fa fa-angle-right" aria-hidden="true"></i>'], 70 responsive:{ 71 300: { 72 nav:false, 73 }, 74 768: { 75 nav:false, 76 }, 77 1170: { 78 nav:true, 79 }, 80 } 81 }); 82 83 /*==================================== 84 Circle Progress JS 85 ======================================*/ 86 $('.circle').circleProgress({ 87 fill: { 88 color: '#00B16A' 89 } 90 }) 91 92 /*==================================== 93 Course Slider JS 94 ======================================*/ 95 $('.course-slider').owlCarousel({ 96 items:3, 97 autoplay:true, 98 autoplayTimeout:3500, 99 smartSpeed: 600, 100 autoplayHoverPause:true, 101 margin:25, 102 loop:true, 103 merge:true, 104 dots:false, 105 nav:true, 106 navText: ['<i class="fa fa-angle-left" aria-hidden="true"></i>', '<i class="fa fa-angle-right" aria-hidden="true"></i>'], 107 responsive:{ 108 300: { 109 items:1, 110 nav:false, 111 }, 112 480: { 113 items:2, 114 nav:false, 115 }, 116 768: { 117 items:2, 118 nav:false, 119 }, 120 1170: { 121 items:3, 122 }, 123 } 124 }); 125 126 /*==================================== 127 Testimonial Slider JS 128 ======================================*/ 129 $('.testimonial-slider').owlCarousel({ 130 autoplay:true, 131 autoplayTimeout:3500, 132 smartSpeed: 600, 133 autoplayHoverPause:true, 134 margin:25, 135 loop:true, 136 merge:true, 137 center:false, 138 nav:true, 139 dots:false, 140 navText: ['<i class="fa fa-angle-left" aria-hidden="true"></i>', '<i class="fa fa-angle-right" aria-hidden="true"></i>'], 141 responsive:{ 142 300: { 143 items:1, 144 nav:false, 145 }, 146 480: { 147 items:2, 148 nav:false, 149 }, 150 768: { 151 items:2, 152 nav:false, 153 }, 154 1170: { 155 items:2, 156 }, 157 } 158 }); 159 160 161 /*==================================== 162 Events Slider JS 163 ======================================*/ 164 $('.event-slider').owlCarousel({ 165 autoplay:true, 166 autoplayTimeout:3500, 167 smartSpeed: 600, 168 autoplayHoverPause:true, 169 margin:25, 170 loop:true, 171 merge:true, 172 nav:true, 173 dots:false, 174 navText: ['<i class="fa fa-angle-left" aria-hidden="true"></i>', '<i class="fa fa-angle-right" aria-hidden="true"></i>'], 175 responsive:{ 176 300: { 177 items:1, 178 nav:false, 179 }, 180 480: { 181 items:2, 182 nav:false, 183 }, 184 768: { 185 items:2, 186 nav:false, 187 }, 188 1170: { 189 items:3, 190 }, 191 } 192 }); 193 194 /*==================================== 195 Event Gallery JS 196 ======================================*/ 197 $('.event-gallery').owlCarousel({ 198 items:1, 199 autoplay:false, 200 autoplayTimeout:3500, 201 smartSpeed: 600, 202 autoplayHoverPause:true, 203 animateOut: 'fadeOut', 204 animateIn: 'fadeIn', 205 margin:0, 206 loop:true, 207 merge:true, 208 nav:true, 209 navText: ['<i class="fa fa-angle-left" aria-hidden="true"></i>', '<i class="fa fa-angle-right" aria-hidden="true"></i>'], 210 dots:false, 211 }); 212 213 /*==================================== 214 CounterUp JS 215 ======================================*/ 216 $('.counter').counterUp({ 217 delay: 10, 218 time: 4000 219 220 }); 221 222 /*==================================== 223 Blog Slider JS 224 ======================================*/ 225 $('.blog-slider').owlCarousel({ 226 items:2, 227 autoplay:false, 228 autoplayTimeout:3500, 229 smartSpeed: 600, 230 autoplayHoverPause:true, 231 margin:15, 232 loop:true, 233 merge:true, 234 nav:true, 235 navText: ['<i class="fa fa-angle-left" aria-hidden="true"></i>', '<i class="fa fa-angle-right" aria-hidden="true"></i>'], 236 dots:true, 237 responsive:{ 238 300: { 239 items:1, 240 nav:false, 241 }, 242 480: { 243 items:2, 244 nav:false, 245 }, 246 768: { 247 items:2, 248 nav:false, 249 }, 250 1170: { 251 items:3, 252 }, 253 } 254 }); 255 256 /*==================================== 257 Blog Slider JS 258 ======================================*/ 259 $('.b-gallery').owlCarousel({ 260 items:1, 261 autoplay:false, 262 autoplayTimeout:3500, 263 smartSpeed: 600, 264 autoplayHoverPause:true, 265 animateOut: 'fadeOut', 266 animateIn: 'fadeIn', 267 margin:0, 268 fade:true, 269 loop:true, 270 merge:true, 271 nav:true, 272 navText: ['<i class="fa fa-angle-left" aria-hidden="true"></i>', '<i class="fa fa-angle-right" aria-hidden="true"></i>'], 273 dots:false, 274 }); 275 276 277 /*==================================== 278 Faqs JS 279 ======================================*/ 280 $('.panel').on('click', function() { 281 $(".panel").removeClass("active"); 282 $(this).addClass("active"); 283 }); 284 285 /*===================================== 286 Video Popup 287 ======================================*/ 288 $('.video-popup').magnificPopup({ 289 type: 'iframe', 290 removalDelay: 300, 291 mainClass: 'mfp-fade' 292 }); 293 294 /*==================================== 295 Masonry JS 296 ======================================*/ 297 $('.masonry').masonry({ 298 // options 299 itemSelector: '.grid-item', 300 }); 301 302 /*===================================== 303 Parallax JS 304 ======================================*/ 305 $(window).stellar({ 306 responsive: true, 307 positionProperty: 'position', 308 horizontalOffset: 0, 309 verticalOffset: 0, 310 horizontalScrolling: false 311 }); 312 313 /*==================================== 314 Wow JS 315 ======================================*/ 316 var window_width = $(window).width(); 317 if(window_width > 767){ 318 new WOW().init(); 319 } 320 321 /*===================================== 322 Scroll Up JS 323 ======================================*/ 324 $.scrollUp({ 325 scrollName: 'scrollUp', // Element ID 326 scrollDistance: 300, // Distance from top/bottom before showing element (px) 327 scrollFrom: 'top', // 'top' or 'bottom' 328 scrollSpeed: 1000, // Speed back to top (ms) 329 animation: 'fade', // Fade, slide, none 330 animationSpeed: 200, // Animation speed (ms) 331 scrollTrigger: false, // Set a custom triggering element. Can be an HTML string or jQuery object 332 scrollTarget: false, // Set a custom target element for scrolling to. Can be element or number 333 easing: 'easeInOutQuart', 334 scrollText: ["<i class='fa fa-angle-up'></i>"], // Text for element, can contain HTML 335 scrollTitle: false, // Set a custom <a> title if required. 336 scrollImg: false, // Set true to use image
337 activeOverlay: false, // Set CSS color to display scrollUp active point, e.g '#00FFFF' 338 zIndex: 2147483647 // Z-Index for the overlay 339 }); 340 341 }); 342 343 /*===================================== 344 Preloader JS 345 ======================================*/ 346 $(window).on('load', function() { 347 $('.book_preload').fadeOut('slow', function(){ 348 $(this).remove(); 349 }); 350 }); 351})(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.