/*
* Main file for custom PBC javascript
*
*/
jQuery( document ).ready( function( $ ) {
/* initialize the slider based on the Slider's ID attribute from the wrapper above */
jQuery('#project_gallery').show().revolution({
delay: 9000,
gridwidth: 400,
gridheight:300,
stopLoop: "on",
stopAfterLoops: 0,
stopAtSlide: 1,
autoHeight: 'on',
sliderLayout: 'auto',
/* BEGIN NAVIGATION */
navigation: {
keyboardNavigation: 'on',
keyboard_direction: 'horizontal',
mouseScrollNavigation: 'on',
mouseScrollReverse: 'reverse',
onHoverStop: 'on',
arrows: {
enable: true,
style: 'hesperiden',
rtl: false,
hide_onleave: false,
hide_onmobile: true,
hide_under: 0,
hide_over: 9999,
hide_delay: 200,
hide_delay_mobile: 1200,
left: {
container: 'slider',
h_align: 'left',
v_align: 'center',
h_offset: 20,
v_offset: 0
},
right: {
container: 'slider',
h_align: 'right',
v_align: 'center',
h_offset: 20,
v_offset: 0
}
},
bullets: {
enable: true,
style: 'hesperiden',
direction: 'horizontal',
rtl: false,
container: 'slider',
h_align: 'center',
v_align: 'bottom',
h_offset: 0,
v_offset: 20,
space: 5,
hide_onleave: false,
hide_onmobile: false,
hide_under: 0,
hide_over: 9999
},
touch: {
touchenabled: 'on',
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: 'horizontal',
drag_block_vertical: true
},
thumbnails: {
enable: true,
style: 'zeus',
tmp: '{{title}}',
width: 100,
height: 50,
min_width: 100,
visibleAmount: 11,
rtl: false,
direction: 'horizontal',
position: 'outer-bottom',
space: 5,
h_align: 'center',
v_align: 'bottom',
h_offset: 0,
v_offset: 20,
span: true,
wrapper_padding: 0,
wrapper_color: 'transparent',
wrapper_opacity: '0',
hide_onleave: false,
hide_onmobile: true,
hide_under: 640,
hide_over: 9999,
hide_delay: 200,
hide_delay_mobile: 1200
}
}
/* END NAVIGATION */
});
});