JavaScript
Libs:
- jquery – is a Javascript library that greatly reduces the amount of code that you must write. For more information, please visit http://www.jquery.com
- modernizer – respond to user’s browser features. For more information, please visit https://modernizr.com
-
html5shiv – enables use of HTML5 sectioning elements in legacy Internet Explorer6-9. For more information, please visit https://github.com/afarkas/html5shiv
-
respond – fast & lightweight polyfill for min/max-width CSS3 Media Queries (for IE 6-8, and more). For more information, please visit https://github.com/scottjehl/Respond
Plugins:
- bxslider – responsive slider plugin. For more information visit http://bxslider.com/
- owlcarousel – carousel plugin. For more information visit http://www.owlcarousel.owlgraphic.com/
- customscroll – custom content scroller plugin. For more information visit http://manos.malihu.gr/jquery-custom-content-scroller/
- fancybox – plugin for displaying images, html content and multi-media in a “lightbox”. For more information visit http://fancyapps.com/fancybox/
- mediaelement – video and audio player plugin. For more information visit http://mediaelementjs.com/
- imagesloaded – plugin detect when images have been loaded. For more information visit http://imagesloaded.desandro.com/
- mousewheel – plugin adds cross-browser mouse wheel support. For more information visit https://github.com/jquery/jquery-mousewheel
- isotope – plugin for intelligent and dynamic layouts that can’t be achieved with CSS alone. For more information visit http://isotope.metafizzy.co/
- appeare – plugin for tracking element’s appearance in browser viewport. For more information visit https://github.com/morr/jquery.appear/
Google Map :
- google maps api – provide methods and tools that can be used for customize maps, and the information on maps. For more information visit https://developers.google.com/maps/
- map icons – an icon font for use with google maps api. For more information visit http://map-icons.com/
All custom js code is located in site.js.
All script parameters are located in the option.js, you can set parameters as you like.
/** rsCard Options */
var rsOptions = {
rtl: true,
timeline: {
topSpace: 50,
itemsSpace: 25
},
refSlider: {
speed: 800, //Slide transition duration (in ms)
auto: false, //Slides will automatically transition
pause: 6000, //The amount of time (in ms) between each auto transition
autoHover: true, //Auto show will pause when mouse hovers over slider
adaptiveHeight: true, //Dynamically adjust slider height based on each slide's height
adaptiveHeightSpeed: 500 //Slide height transition duration (in ms).
},
postSlider: {
speed: 800, //Slide transition duration (in ms)
auto: true, //Slides will automatically transition
pause: 6000, //The amount of time (in ms) between each auto transition
autoHover: true //Auto show will pause when mouse hovers over slider
},
clientsSlider: {
items: 5,
singleItem: false,
autoPlay: true,
stopOnHover: true,
itemsDesktopSmall: [992, 4],
itemsTabletSmall: [767, 3],
itemsMobile: [320, 1]
},
calendar: {
startYear: '2016',
startMonth: '0', // moths are starting form 0-11
endYear: '2017',
endMonth: '0',
weekStart: 'Sunday', // possible values Sunday/Monday
weekNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
busyDays: [ // new Date(year, month, day)
new Date(2016, 0, 10),
new Date(2016, 0, 8),
new Date(2016, 0, 12),
new Date(2016, 0, 30)
]
}
};