1stsemster

1stsemster

THE 1ST SEMESTER

 

WordPress Development

WordPress Development

Fanta Another Campaign

Fanta Another Campaign

Web-Development

Web-Development



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_5_1′);
e.gridwidth = [1240];
e.gridheight = [950];

e.sliderLayout = “fullscreen”;
e.fullScreenAutoWidth=’off’;
e.fullScreenAlignForce=’off’;
e.fullScreenOffsetContainer= ”;
e.fullScreenOffset=”;
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 cheap mlb jerseys 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. cheap basketball jerseys China Find the double jquery.js include and remove it.”;
errorMessage = “” + errorMessage + ““;
jQuery(sliderID).show().html(errorMessage);
}
var tpj=jQuery;

var revapi5;
tpj(document).ready(function() {
if(tpj(“#rev_slider_5_1”).revolution == undefined){
revslider_showDoubleJqueryError(“#rev_slider_5_1”);
}else{
revapi5 = tpj(“#rev_slider_5_1″).show().revolution({
sliderType:”standard”,
jsFileLocation:”//yahmed.dk/wp-content/plugins/revslider/public/assets/js/”,
sliderLayout:”fullscreen”,
dottedOverlay:”none”,
delay:9000,
navigation: {
onHoverStop:”off”,
},
visibilityLevels:[1240,1024,778,480],
gridwidth:1240,
gridheight:950,
lazyType:”none”,
parallax: {
type:”scroll”,
origo:”enterpoint”,
speed:400,
levels:[5,10,15,20,25,30,35,40,45,46,47,48,49,50,51,55],
type:”scroll”,
disable_onmobile:”on”
},
shadow:0,
spinner:”spinner0″,
stopLoop:”off”,
stopAfterLoops:-1,
stopAtSlide:-1,
shuffle:”off”,
autoHeight:”off”,
fullScreenAutoWidth:”off”,
fullScreenAlignForce:”off”,
fullScreenOffsetContainer: “”,
fullScreenOffset: “”,
disableProgressBar:”on”,
hideThumbsOnMobile:”off”,
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:”off”,
nextSlideOnWindowFocus:”off”,
disableFocusListener:false,
}
});
}
}); /*ready*/


50

Leave a Reply

Your email address will not be published. Required fields are marked *