All javascripts are placed in folder /js. In main.js file we implement all functions calls.
This theme uses following Javascript scripts:
- chart.min
- jquery.mb-comingsoon.min
- jquery.countTo
- jquery.stellar.min
- gmap3.min
- headroom http://wicky.nillia.ms/headroom.js/
- jQuery.headroom
- jquery.magnific-popup.min
- jquery.pagescroller.lite
- imagesloaded
- jquery.isotope.min
- slick.min http://kenwheeler.github.io/slick/
jquery.appear
This plugin call function when element appear in viewport. This is used in custom animation, progress bars, counter timer.
Documentation: https://github.com/bas2k/jquery.appear/
1 2 3 4 5 6 7 8 9 10 11 12 13 |
if (jQuery().appear) { if (device.mobile()) { // disable animation on mobile jQuery("body").removeClass("withAnimation"); } else { jQuery('.withAnimation .animated').appear(function () { jQuery(this).each(function () { jQuery(this).addClass('activate'); jQuery(this).addClass($(this).data('fx')); }); }, {accY: -150}); } } |