Javascript


1. Javascript library and files

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

– Modernizr 2.0.6

– PageScroller

– Snap.js

– Device.js 0.1.58

– Chart.js

2. Google Map (GMAP3 Plugin)

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

1. data-location – address to show

2. data-height – map height (if undefined height will be 220px)

3. data-offset – by how many map should be repositioned from marker center point (default -30)

HTML Markup:

32

3. Jquery.appear

This plugin call function when element appear in viewport. This is used in custom animation, progress bars, counter timer.

27

4. Charts

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