Javascript


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

  • Bootstrap v 3 framework (powerful front-end framework for faster and easier web development)
  • jQuery v1.10.2 (A fast javascript library that Foodtruckifies how to traverse HTML documents, handle events, perform animations.)
  • jQuery FlexSlider v2.2.0
  • GMAP3 Plugin for JQuery v. 5.1.1
  • jQuery.appear
  • jQuery Stellar
  • jQuery tweet
  • Modernizr 2.0.6
  • PageScroller
  • final-countdown.js
  • snap.js
  • device.js 0.1.58
  • chart.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/