1var revapi = jQuery(document).ready(function() { 2 3 jQuery('.style-one .tp-banner').show().revolution({ 4 delay:10000, 5 startwidth:1200, 6 startheight:750, 7 hideThumbs:600, 8 9 thumbWidth:80, 10 thumbHeight:50, 11 thumbAmount:5, 12 13 navigationType:"bullet", 14 navigationArrows:"0", 15 navigationStyle:"preview3", 16 17 touchenabled:"on", 18 onHoverStop:"off", 19 20 swipe_velocity: 0.7, 21 swipe_min_touches: 1, 22 swipe_max_touches: 1, 23 drag_block_vertical: false, 24 25 parallax:"mouse", 26 parallaxBgFreeze:"on", 27 parallaxLevels:[7,4,3,2,5,4,3,2,1,0], 28 29 keyboardNavigation:"off", 30 31 navigationHAlign:"center", 32 navigationVAlign:"bottom", 33 navigationHOffset:0, 34 navigationVOffset:40, 35 36 soloArrowLeftHalign:"left", 37 soloArrowLeftValign:"center", 38 soloArrowLeftHOffset:20, 39 soloArrowLeftVOffset:0, 40 41 soloArrowRightHalign:"right", 42 soloArrowRightValign:"center", 43 soloArrowRightHOffset:20, 44 soloArrowRightVOffset:0, 45 46 shadow:0, 47 fullWidth:"on", 48 fullScreen:"off", 49 50 spinner:"spinner4", 51 52 stopLoop:"off", 53 stopAfterLoops:-1, 54 stopAtSlide:-1, 55 56 shuffle:"off", 57 58 autoHeight:"off", 59 forceFullWidth:"on", 60 61 hideThumbsOnMobile:"on", 62 hideNavDelayOnMobile:1500, 63 hideBulletsOnMobile:"on", 64 hideArrowsOnMobile:"on", 65 hideThumbsUnderResolution:0, 66 67 hideSliderAtLimit:0, 68 hideCaptionAtLimit:0, 69 hideAllCaptionAtLilmit:0, 70 startWithSlide:0, 71 videoJsPath:"", 72 fullScreenOffsetContainer: "" 73 }); 74}); 75 76 77function checkSlider(child) { 78 var windowWidth = $(window).width(); //retrieve current window width 79 var documentWidth = $(document).width(); //retrieve current document width 80 // Der Cpation-Text des Slider soll unter den Slider kopiert werden 81 if ($('.main-slider').length && (windowWidth < 820)) { 82 var text = ''; 83 if (child > 0) { 84 text = $('.main-slider ul li:nth-child('+child+') .nur-xs-below').html(); 85 $('#min-slider').hide(); 86 $('#min-slider').html(text); 87 $('#min-slider').fadeIn(1350); 88 } else { 89 text = $('.main-slider ul li.current-sr-slide-visible .nur-xs-below').html(); 90 if (!text || text == 'undefined') { 91 text = $('.main-slider ul li:first-child .nur-xs-below').html(); 92 } 93 $('#min-slider').html(text); 94 $('#min-slider').show(); 95 } 96 } else if (windowWidth > 819) { 97 $('#min-slider').hide(); 98 } 99} 100 101$(document).ready(function() { 102 103 revapi.on('revolution.slide.onchange', function (event, data) { 104 checkSlider(data.slideIndex); 105 }); 106 107 $(window).on('resize', function() { 108 checkSlider(0); 109 }); 110}); 111 112//revapi.one('revolution.slide.onloaded', function() { 113// checkSlider(); 114//});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.