Code:
<script>
document.addEventListener("DOMContentLoaded", function(event) {
$(function(){
var revapi<?= $this->sliderId; ?>;
if($("#rev_slider_<?= $this->sliderId; ?>").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_486_1");
}else{
revapi<?= $this->sliderId; ?> = $("#rev_slider_<?= $this->sliderId; ?>").show().revolution({
sliderType:"standard",
jsFileLocation:"files/eilguthalle-v2/plugins/revolutionslider/js/",
sliderLayout:"fullwidth",
dottedOverlay:"none",
delay:9000,
navigation: {
keyboardNavigation:"on",
keyboard_direction: "horizontal",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"on",
touch:{
touchenabled:"on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
}
,
arrows: {
style:"uranus",
enable:true,
hide_onmobile:true,
hide_onleave:false,
hide_under: 1500,
tmp:'',
left: {
h_align:"left",
v_align:"center",
h_offset:150,
v_offset:10
},
right: {
h_align:"right",
v_align:"center",
h_offset:150,
v_offset:10
}
}
,
tabs: {
style:"zeus",
enable:true,
width:300,
height:40,
min_width:2000,
wrapper_padding:0,
wrapper_color:"transparent",
wrapper_opacity:"0",
tmp:'<div class="tp-tab-title">[{]title[}]</div>',
visibleAmount: 3,
hide_onmobile: true,
hide_under:778,
hide_onleave:false,
hide_delay:200,
direction:"horizontal",
span:false,
position:"outer-bottom",
space:10,
h_align:"center",
v_align:"top",
h_offset:0,
v_offset:0,
}
},
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:[700,650,600,550],
lazyType:"none",
parallax: {
type:"scroll",
origo:"enterpoint",
speed:400,
levels:[5,10,15,20,25,30,35,40,45,50,46,47,48,49,50,55],
},
shadow:0,
spinner:"spinner0",
// Autoplay on
stopLoop:"off",
stopAfterLoops:-1,
stopAtSlide:-1,
// Autoplay off
// stopLoop:"on",
// stopAfterLoops:0,
// stopAtSlide:1,
shuffle:"off",
autoHeight:"off",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
});
});
</script>
In der Config unter navigation > tabs siehst du im Feld "tmp" die Platzhalter.
Lesezeichen