1$(document).ready(function($) { 2 3 $(".linkfade").hover(function(){ 4 $(this).stop().animate({"opacity" : 0.5},300); 5 },function(){ 6 $(this).stop().animate({"opacity" : 1},300); 7 }); 8 9 $(".fadechange").hover(function(){ 10 $(this).stop().animate({"opacity" : 0},500); 11 },function(){ 12 $(this).stop().animate({"opacity" : 1},500); 13 }); 14 15 /*========Slider========*/ 16 var slideIndex = 0; 17 var nextIndex = 0; 18 var prevIndex = 0; 19 $('#slider').cycle({ 20 fx: 'fade', 21 width: '100%', 22 easing: 'easeInOutBack', 23 after: function(currSlideElement, nextSlideElement, options) { 24 slideIndex = options.currSlide; 25 nextIndex = slideIndex + 1; 26 prevIndex = slideIndex -1; 27 28 if (slideIndex == options.slideCount-1) { 29 nextIndex = 0; 30 } 31 32 if (slideIndex == 0) { 33 prevIndex = options.slideCount-1; 34 } 35 } 36 }); 37 38 $(".next").click(function () { 39 $('#slider').cycle(nextIndex, "fade"); 40 }); 41 42 $(".prev").click(function () { 43 $('#slider').cycle(prevIndex, "fade"); 44 }); 45 46 // $('#sectionTogel').hover(function(){ 47 // $('#sectionTogel').stop().animate({"right":"0px"}, "slow"); 48 // },function(){ 49 // $('#sectionTogel').stop().animate({"right":"-173px"}, "slow"); 50 // }); 51 52 /*========Deposit========*/ 53 var jackpotIndex = 0; 54 var jackpotNextIndex = 0; 55 var jackpotPrevIndex = 0; 56 57 $('.jackpot').cycle({ 58 fx: 'scrollLeft', 59 easing: 'easeInOutBack', 60 after: function(currSlideElement, nextSlideElement, options) { 61 jackpotIndex = options.currSlide; 62 jackpotNextIndex = slideIndex + 1; 63 jackpotPrevIndex = slideIndex -1; 64 65 if (jackpotIndex == options.slideCount-1) { 66 jackpotNextIndex = 0; 67 } 68 69 if (jackpotIndex == 0) { 70 jackpotPrevIndex = options.slideCount-1; 71 } 72 } 73 }); 74 $(".jackpotNext").click(function () { 75 $('.jackpot').stop().cycle(jackpotNextIndex, "scrollLeft"); 76 }); 77 78 $(".jackpotPrev").click(function () { 79 $('.jackpot').stop().cycle(jackpotPrevIndex, "scrollRight"); 80 }); 81 82 /*========Deposit========*/ 83 var deposIndex = 0; 84 var deposNextIndex = 0; 85 var deposPrevIndex = 0; 86 87 $('.deposit').cycle({ 88 fx: 'scrollLeft', 89 easing: 'easeInOutBack', 90 after: function(currSlideElement, nextSlideElement, options) { 91 deposIndex = options.currSlide; 92 deposNextIndex = slideIndex + 1; 93 deposPrevIndex = slideIndex -1; 94 95 if (deposIndex == options.slideCount-1) { 96 deposNextIndex = 0; 97 } 98 99 if (deposIndex == 0) { 100 deposPrevIndex = options.slideCount-1; 101 } 102 } 103 }); 104 $(".deposNext").click(function () { 105 $('.deposit').stop().cycle(deposNextIndex, "scrollLeft"); 106 }); 107 108 $(".deposPrev").click(function () { 109 $('.deposit').stop().cycle(deposPrevIndex, "scrollRight"); 110 }); 111 112 /*========Deposit========*/ 113 var withdrawIndex = 0; 114 var withdrawNextIndex = 0; 115 var withdrawPrevIndex = 0; 116 117 $('.withdraw').cycle({ 118 fx: 'scrollLeft', 119 easing: 'easeInOutBack', 120 after: function(currSlideElement, nextSlideElement, options) { 121 withdrawIndex = options.currSlide; 122 withdrawNextIndex = slideIndex + 1; 123 withdrawPrevIndex = slideIndex -1; 124 125 if (withdrawIndex == options.slideCount-1) { 126 withdrawNextIndex = 0; 127 } 128 129 if (withdrawIndex == 0) { 130 withdrawPrevIndex = options.slideCount-1; 131 } 132 } 133 }); 134 $(".withdrawNext").click(function () { 135 $('.withdraw').stop().cycle(withdrawNextIndex, "scrollLeft"); 136 }); 137 138 $(".withdrawPrev").click(function () { 139 $('.withdraw').stop().cycle(withdrawPrevIndex, "scrollRight"); 140 }); 141 142 $('.banner-1').cycle({ 143 fx: 'scrollLeft', 144 easing: 'easeInOutBack' 145 }); 146 147 $('.banner-2').cycle({ 148 fx: 'scrollRight', 149 easing: 'easeInOutBack' 150 }); 151 152 $('.sport').click(function(){ 153 $('.submenu').slideUp(); 154 $(this).find('.submenu').slideDown(); 155 }); 156});
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.