Javascript


All javascripts are placed in folder /js. In main.js file we implement all functions calls.
This theme uses following Javascript files:

  • HTML/assets/js/jquery.min.js – Jquery Plugin
  • HTML/assets/js/bootstrap.min.js – Bootstrap Plugin
  • HTML/assets/js/placeholder.min.js
  • HTML/assets/js/easing.1.3.js
  • HTML/assets/js/device.min.js
  • HTML/assets/js/jquery.browser.min.js
  • HTML/assets/js/snap.min.js – Snap Plugin is for responsive menu
  • HTML/assets/js/jquery.appear.js
  • HTML/assets/js/masonry.min.js – This is using in home page and in gallery
  • HTML/assets/plugins/owl/owl.carousel.min.js – slider plugin
  • HTML/assets/plugins/owl/init.js
  • HTML/assets/js/portfolio/imagesloaded.js – Needed for gallery
  • HTML/assets/plugins/magnific-popup/jquery.magnific.min.js – Needed for gallery, using when you want to see a big image after click on thumbnail
  • HTML/assets/plugins/magnific-popup/init.js
  • HTML/assets/js/main.js – Main scripts
  • HTML/assets/js/less.min.js

Google Map (GMAP3 Plugin)

This is google map with custom marker, you can define couple parameters:

  • data-location – address to show
  • data-height – map height (if undefined height will be 220px)
  • data-offset – by how many map should be repositioned from marker center point (default -30)

It uses gmap3 plugin.
Documentation: here
HTML Markup:

All javascript code can be found in js/main.js file.

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/

Charts.js

This plugin is used to make graphics.
Documentation: http://www.chartjs.org/