1var Index = function () { 2 3 return { 4 5 //Parallax Slider 6 initParallaxSlider: function () { 7 $(function() { 8 $('#da-slider').cslider(); 9 }); 10 }, 11 12 //Layer Slider 13 initLayerSlider: function () { 14 $(document).ready(function(){ 15 $('#layerslider').layerSlider({ 16 skinsPath : 'assets/plugins/layer_slider/skins/', 17 skin : 'fullwidth', 18 thumbnailNavigation : 'hover', 19 hoverPrevNext : true, 20 responsive : true, 21 responsiveUnder : 960, 22 sublayerContainer : 960 23 }); 24 }); 25 }, 26 27 //Revolution Slider 28 initRevolutionSlider: function () { 29 var tpj=jQuery; 30 tpj.noConflict(); 31 32 tpj(document).ready(function() { 33 34 if (tpj.fn.cssOriginal!=undefined) 35 tpj.fn.css = tpj.fn.cssOriginal; 36 37 var api = tpj('.fullwidthbanner').revolution( 38 { 39 delay:9000, 40 startwidth:960, 41 startheight:500, 42 43 onHoverStop:"off", // Stop Banner Timet at Hover on Slide on/off 44 45 thumbWidth:100, // Thumb With and Height and Amount (only if navigation Tyope set to thumb !) 46 thumbHeight:50, 47 thumbAmount:3, 48 49 hideThumbs:1, 50 navigationType:"bullet", // bullet, thumb, none 51 navigationArrows:"solo", // nexttobullets, solo (old name verticalcentered), none 52 53 navigationStyle:"round-old", // round,square,navbar,round-old,square-old,navbar-old, or any from the list in the docu (choose between 50+ different item), custom 54 55 56 navigationHAlign:"center", // Vertical Align top,center,bottom 57 navigationVAlign:"bottom", // Horizontal Align left,center,right 58 navigationHOffset:30, 59 navigationVOffset:20, 60 61 soloArrowLeftHalign:"left", 62 soloArrowLeftValign:"center", 63 soloArrowLeftHOffset:20, 64 soloArrowLeftVOffset:0, 65 66 soloArrowRightHalign:"right", 67 soloArrowRightValign:"center", 68 soloArrowRightHOffset:20, 69 soloArrowRightVOffset:0, 70 71 touchenabled:"on", // Enable Swipe Function : on/off 72 73 74 stopAtSlide:-1, // Stop Timer if Slide "x" has been Reached. If stopAfterLoops set to 0, then it stops already in the first Loop at slide X which defined. -1 means do not stop at any slide. stopAfterLoops has no sinn in this case. 75 stopAfterLoops:-1, // Stop Timer if All slides has been played "x" times. IT will stop at THe slide which is defined via stopAtSlide:x, if set to -1 slide never stop automatic 76 77 hideCaptionAtLimit:0, // It Defines if a caption should be shown under a Screen Resolution ( Basod on The Width of Browser) 78 hideAllCaptionAtLilmit:0, // Hide all The Captions if Width of Browser is less then this value 79 hideSliderAtLimit:0, // Hide the whole slider, and stop also functions if Width of Browser is less than this value 80 81 82 fullWidth:"on", 83 84 shadow:0 //0 = no Shadow, 1,2,3 = 3 Different Art of Shadows - (No Shadow in Fullwidth Version !) 85 86 }); 87 88 89 // TO HIDE THE ARROWS SEPERATLY FROM THE BULLETS, SOME TRICK HERE: 90 // YOU CAN REMOVE IT FROM HERE TILL THE END OF THIS SECTION IF YOU DONT NEED THIS ! 91 api.bind("revolution.slide.onloaded",function (e) { 92 93 94 jQuery('.tparrows').each(function() { 95 var arrows=jQuery(this); 96 97 var timer = setInterval(function() { 98 99 if (arrows.css('opacity') == 1 && !jQuery('.tp-simpleresponsive').hasClass("mouseisover")) 100 arrows.fadeOut(300); 101 },3000); 102 }) 103 104 jQuery('.tp-simpleresponsive, .tparrows').hover(function() { 105 jQuery('.tp-simpleresponsive').addClass("mouseisover"); 106 jQuery('body').find('.tparrows').each(function() { 107 jQuery(this).fadeIn(300); 108 }); 109 }, function() { 110 if (!jQuery(this).hasClass("tparrows")) 111 jQuery('.tp-simpleresponsive').removeClass("mouseisover"); 112 }) 113 });
114 // END OF THE SECTION, HIDE MY ARROWS SEPERATLY FROM THE BULLETS 115 116 }); 117 } 118 119 }; 120}();
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.