var htmlDiv = document.getElementById(„rs-plugin-settings-inline-css“); var htmlDivCss=““;
if(htmlDiv) {
htmlDiv.innerHTML = htmlDiv.innerHTML + htmlDivCss;
}else{
var htmlDiv = document.createElement(„div“);
htmlDiv.innerHTML = „“ + htmlDivCss + „“;
document.getElementsByTagName(„head“)[0].appendChild(htmlDiv.childNodes[0]);
}
/******************************************
– PREPARE PLACEHOLDER FOR SLIDER –
******************************************/
var setREVStartSize=function(){
try{var e=new Object,i=jQuery(window).width(),t=9999,r=0,n=0,l=0,f=0,s=0,h=0;
e.c = jQuery(‚#rev_slider_2_1‘);
e.gridwidth = [960];
e.gridheight = [600];
e.sliderLayout = „auto“;
if(e.responsiveLevels&&(jQuery.each(e.responsiveLevels,function(e,f){f>i&&(t=r=f,l=e),i>f&&f>r&&(r=f,n=e)}),t>r&&(l=n)),f=e.gridheight[l]||e.gridheight[0]||e.gridheight,s=e.gridwidth[l]||e.gridwidth[0]||e.gridwidth,h=i/s,h=h>1?1:h,f=Math.round(h*f),“fullscreen“==e.sliderLayout){var u=(e.c.width(),jQuery(window).height());if(void 0!=e.fullScreenOffsetContainer){var c=e.fullScreenOffsetContainer.split(„,“);if (c) jQuery.each(c,function(e,i){u=jQuery(i).length>0?u-jQuery(i).outerHeight(!0):u}),e.fullScreenOffset.split(„%“).length>1&&void 0!=e.fullScreenOffset&&e.fullScreenOffset.length>0?u-=jQuery(window).height()*parseInt(e.fullScreenOffset,0)/100:void 0!=e.fullScreenOffset&&e.fullScreenOffset.length>0&&(u-=parseInt(e.fullScreenOffset,0))}f=u}else void 0!=e.minHeight&&f<e.minHeight&&(f=e.minHeight);e.c.closest(".rev_slider_wrapper").css({height:f})
}catch(d){console.log("Failure at Presize of Slider:"+d)}
};
setREVStartSize();
function revslider_showDoubleJqueryError(sliderID) {
var errorMessage = "Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include.";
errorMessage += "
This includes make eliminates the revolution slider libraries, and make it not work.“;
errorMessage += „
To fix it you can:
1. In the Slider Settings -> Troubleshooting set option: Put JS Includes To Body option to true.“;
errorMessage += „
2. Find the double jquery.js include and remove it.“;
errorMessage = „“ + errorMessage + „„;
jQuery(sliderID).show().html(errorMessage);
}
var tpj=jQuery;
tpj.noConflict();
var revapi2;
tpj(document).ready(function() {
if(tpj(„#rev_slider_2_1“).revolution == undefined){
revslider_showDoubleJqueryError(„#rev_slider_2_1“);
}else{
revapi2 = tpj(„#rev_slider_2_1″).show().revolution({
sliderType:“standard“,
jsFileLocation:“//www.gulyabani.de/wp-content/plugins/revslider/public/assets/js/“,
sliderLayout:“auto“,
dottedOverlay:“none“,
delay:9000,
navigation: {
keyboardNavigation:“off“,
keyboard_direction: „horizontal“,
mouseScrollNavigation:“off“,
onHoverStop:“on“,
touch:{
touchenabled:“on“,
swipe_threshold: 0.7,
swipe_min_touches: 1,
swipe_direction: „horizontal“,
drag_block_vertical: false
}
,
arrows: {
style:“hesperiden“,
enable:true,
hide_onmobile:false,
hide_onleave:false,
tmp:“,
left: {
h_align:“left“,
v_align:“center“,
h_offset:20,
v_offset:0
},
right: {
h_align:“right“,
v_align:“center“,
h_offset:20,
v_offset:0
}
}
,
bullets: {
enable:true,
hide_onmobile:false,
style:“hesperiden“,
hide_onleave:false,
direction:“horizontal“,
h_align:“center“,
v_align:“bottom“,
h_offset:0,
v_offset:20,
space:5,
tmp:“
}
},
visibilityLevels:[1240,1024,778,480],
gridwidth:960,
gridheight:600,
lazyType:“none“,
shadow:3,
spinner:“spinner0″,
stopLoop:“off“,
stopAfterLoops:-1,
stopAtSlide:-1,
shuffle:“off“,
autoHeight:“off“,
disableProgressBar:“on“,
hideThumbsOnMobile:“off“,
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:“off“,
nextSlideOnWindowFocus:“off“,
disableFocusListener:false,
}
});
}
}); /*ready*/
var htmlDivCss = unescape(„.hesperiden.tparrows%20%7B%0A%09cursor%3Apointer%3B%0A%09background%3A%23000%3B%0A%09background%3Argba%280%2C0%2C0%2C0.5%29%3B%0A%09width%3A40px%3B%0A%09height%3A40px%3B%0A%09position%3Aabsolute%3B%0A%09display%3Ablock%3B%0A%09z-index%3A100%3B%0A%20%20%20%20border-radius%3A%2050%25%3B%0A%7D%0A.hesperiden.tparrows%3Ahover%20%7B%0A%09background%3A%23000%3B%0A%7D%0A.hesperiden.tparrows%3Abefore%20%7B%0A%09font-family%3A%20%22revicons%22%3B%0A%09font-size%3A20px%3B%0A%09color%3A%23fff%3B%0A%09display%3Ablock%3B%0A%09line-height%3A%2040px%3B%0A%09text-align%3A%20center%3B%0A%7D%0A.hesperiden.tparrows.tp-leftarrow%3Abefore%20%7B%0A%09content%3A%20%22%5Ce82c%22%3B%0A%20%20%20%20margin-left%3A-3px%3B%0A%7D%0A.hesperiden.tparrows.tp-rightarrow%3Abefore%20%7B%0A%09content%3A%20%22%5Ce82d%22%3B%0A%20%20%20%20margin-right%3A-3px%3B%0A%7D%0A.hesperiden.tp-bullets%20%7B%0A%7D%0A.hesperiden.tp-bullets%3Abefore%20%7B%0A%09content%3A%22%20%22%3B%0A%09position%3Aabsolute%3B%0A%09width%3A100%25%3B%0A%09height%3A100%25%3B%0A%09background%3Atransparent%3B%0A%09padding%3A10px%3B%0A%09margin-left%3A-10px%3Bmargin-top%3A-10px%3B%0A%09box-sizing%3Acontent-box%3B%0A%20%20%20border-radius%3A8px%3B%0A%20%20%0A%7D%0A.hesperiden%20.tp-bullet%20%7B%0A%09width%3A12px%3B%0A%09height%3A12px%3B%0A%09position%3Aabsolute%3B%0A%09background%3A%20%23999999%3B%20%2F%2A%20old%20browsers%20%2A%2F%0A%20%20%20%20background%3A%20-moz-linear-gradient%28top%2C%20%20%23999999%200%25%2C%20%23e1e1e1%20100%25%29%3B%20%2F%2A%20ff3.6%2B%20%2A%2F%0A%20%20%20%20background%3A%20-webkit-gradient%28linear%2C%20left%20top%2C%20left%20bottom%2C%20color-stop%280%25%2C%23999999%29%2C%20%0A%20%20%20%20color-stop%28100%25%2C%23e1e1e1%29%29%3B%20%2F%2A%20chrome%2Csafari4%2B%20%2A%2F%0A%20%20%20%20background%3A%20-webkit-linear-gradient%28top%2C%20%20%23999999%200%25%2C%23e1e1e1%20100%25%29%3B%20%2F%2A%20chrome10%2B%2Csafari5.1%2B%20%2A%2F%0A%20%20%20%20background%3A%20-o-linear-gradient%28top%2C%20%20%23999999%200%25%2C%23e1e1e1%20100%25%29%3B%20%2F%2A%20opera%2011.10%2B%20%2A%2F%0A%20%20%20%20background%3A%20-ms-linear-gradient%28top%2C%20%20%23999999%200%25%2C%23e1e1e1%20100%25%29%3B%20%2F%2A%20ie10%2B%20%2A%2F%0A%20%20%20%20background%3A%20linear-gradient%28to%20bottom%2C%20%20%23999999%200%25%2C%23e1e1e1%20100%25%29%3B%20%2F%2A%20w3c%20%2A%2F%0A%20%20%20%20filter%3A%20progid%3Adximagetransform.microsoft.gradient%28%20%0A%20%20%20%20startcolorstr%3D%22%23999999%22%2C%20endcolorstr%3D%22%23e1e1e1%22%2Cgradienttype%3D0%20%29%3B%20%2F%2A%20ie6-9%20%2A%2F%0A%09border%3A3px%20solid%20%23e5e5e5%3B%0A%09border-radius%3A50%25%3B%0A%09cursor%3A%20pointer%3B%0A%09box-sizing%3Acontent-box%3B%0A%7D%0A.hesperiden%20.tp-bullet%3Ahover%2C%0A.hesperiden%20.tp-bullet.selected%20%7B%0A%09background%3A%23666%3B%0A%7D%0A.hesperiden%20.tp-bullet-image%20%7B%0A%7D%0A.hesperiden%20.tp-bullet-title%20%7B%0A%7D%0A%0A“);
var htmlDiv = document.getElementById(‚rs-plugin-settings-inline-css‘);
if(htmlDiv) {
htmlDiv.innerHTML = htmlDiv.innerHTML + htmlDivCss;
}
else{
var htmlDiv = document.createElement(‚div‘);
htmlDiv.innerHTML = “ + htmlDivCss + “;
document.getElementsByTagName(‚head‘)[0].appendChild(htmlDiv.childNodes[0]);
}