TanchoToplineCargo/public/sunsari/js/rev-sliders/cleaning.js
2024-05-05 10:32:49 +05:45

82 lines
2.6 KiB
JavaScript

var tpj=jQuery;
var revapi1083;
tpj(document).ready(function() {
if(tpj("#rev_slider_1083_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_1083_1");
}else{
revapi1083 = tpj("#rev_slider_1083_1").show().revolution({
sliderType:"standard",
jsFileLocation:"revolution/js/",
sliderLayout:"auto",
dottedOverlay:"none",
delay:6000,
navigation: {
keyboardNavigation:"off",
keyboard_direction: "horizontal",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"off",
touch:{
touchenabled:"on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
}
,
bullets: {
enable:true,
hide_onmobile:true,
hide_under:600,
style:"hermes",
hide_onleave:true,
hide_delay:200,
hide_delay_mobile:1200,
direction:"vertical",
h_align:"right",
v_align:"center",
h_offset:30,
v_offset:0,
space:5,
tmp:''
}
},
viewPort: {
enable:true,
outof:"pause",
visible_area:"80%",
presize:false
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[868,768,960,720],
lazyType:"none",
parallax: {
type:"mouse",
origo:"slidercenter",
speed:2000,
levels:[2,3,4,5,6,7,12,16,10,50,46,47,48,49,50,55],
type:"mouse",
},
shadow:0,
spinner:"off",
stopLoop:"off",
stopAfterLoops:-1,
stopAtSlide:-1,
shuffle:"off",
autoHeight:"off",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
}); /*ready*/