Last active
April 16, 2017 05:33
-
-
Save Myscript2010/d403f77a24590431397a0c8aced302a3 to your computer and use it in GitHub Desktop.
Catch the ball Music
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
body {background-image: url();color:red;height:100%;overflow:hidden;} | |
body { | |
text-shadow: | |
0 0 .4em currentcolor, | |
0 0 .35em yellow, | |
0 0 .5em orange, | |
0 0 1em red, | |
0 0 2em white; | |
} | |
header { | |
-o-transition-duration: 0.3s; | |
-moz-transition-duration: 0.3s; | |
-webkit-transition-duration: 0.3s; | |
transition-duration: 0.3s; | |
padding: 0px 0; | |
position: fixed; | |
top:-4px; | |
width: 100%; | |
text-align: center; | |
font-size: 6px; | |
background: linear-gradient(270deg,#660099, #660099, rgba(255, 0, 0, 0.60), #660099, #660099); | |
border-bottom: 3px solid #333; | |
-webkit-animation: shadow 6s ease-in-out infinite; | |
animation: shadow 6s ease-in-out infinite; | |
} | |
.ap { | |
position: fixed; | |
right: 0; | |
bottom:-19px; | |
left: 0; | |
height: 70px; | |
margin: auto; | |
font-family: Arial, sans-serif; | |
font-size: 10px; | |
-webkit-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none; | |
text-align: center; | |
font-size: 11px; | |
background: linear-gradient(270deg,#660099, #660099, rgba(255, 0, 0, 0.60), #660099, rgba(255, 0, 0, 0.60), #660099, #660099); | |
border-top: 2px solid rgba(46, 56, 79, 0.85); | |
z-index: 9999; | |
} | |
h2 { | |
padding:15px; | |
background: -webkit-linear-gradient(transparent 10%, goldenrod 50%, transparent 90%); | |
background: linear-gradient(transparent 10%, #333 50%, transparent 90%); | |
-webkit-animation: shadow 1s ease-in-out infinite; | |
animation: shadow 1s ease-in-out infinite; | |
} | |
/*Text Bawah1*/ | |
M-2010, #teks, #posisi, #dibawah, span { | |
font: 900 15vw Raleway; | |
position: relative; | |
display: inline-block; | |
} | |
#M-2010, #teks, #posisi, #dibawah { | |
position: absolute; | |
font-size: 11px; | |
margin: 2px | |
} | |
#M-2010, #teks div { | |
text-decoration: underline; | |
cursor: pointer | |
} | |
#teks, #posisi { | |
text-align: right; | |
right: 50px; | |
} | |
#teks, #dibawah { | |
text-align: left; | |
left: 50px; | |
} | |
#dibawah, #posisi { | |
bottom:34px; | |
-webkit-animation: shadow 6s ease-in-out infinite; | |
animation: shadow 6s ease-in-out infinite; | |
} | |
@keyframes shadow { | |
0% { | |
text-shadow: 0 0 2px #B0E0E6 , | |
0 0 8px #B0E0E6 , 0 0 10px #B0E0E6 , | |
0 0 20px #B0E0E6 , 0 0 30px #B0E0E6 , | |
0 0 40px #B0E0E6, 0 0 50px #B0E0E6 , | |
0 0 80px #B0E0E6; | |
} | |
50% { | |
text-shadow: 0 12px 7px rgba(255, 0, 0, 0.8), | |
0 5px 15px rgba(0, 0, 0, 0.90), 0 0 50px rgba(0, 0, 0, 0.90), | |
0 -10px 2px rgba(255, 0, 0, 0.8); | |
} | |
100% { | |
text-shadow: 0 0 2px #800080 , | |
0 0 8px #800080 , 0 0 10px #800080 , | |
0 0 20px #800080 , 0 0 30px #800080 , | |
0 0 40px #800080 , 0 0 50px #800080 , | |
0 0 80px #800080 ; | |
} | |
} | |
/*background*/ | |
#gradient { | |
position: fixed; | |
bottom:-119px; | |
width: 600%; | |
height: 600%; | |
left:-20px; | |
position: absolute; | |
background: linear-gradient(270deg, #9400D3, #003366, #b27000, #06617d, #CC0099, #A10048, #067370, #B0E0E6, #009999, #330099, #B20000, #8E006B, #8B4513, #CC0099, #87CEEB, #0066B3, #DC143C, #4B0082 , #8B008B, #FF7F50, #DDA0DD, #6B006B, #B0E0E6 , #990099 , #D8BFD8, #40E0D0 , #DA70D6, #FF69B4, #9400D3 ); | |
background-size: 800% 800%; | |
-webkit-animation: colors 460s ease infinite; | |
-moz-animation: colors 460s ease infinite; | |
animation: colors 460s ease infinite; | |
} | |
@-webkit-keyframes colors { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@-moz-keyframes colors { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@keyframes colors { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
/*kucing*/ | |
.container{ | |
position:relative; | |
width:800px; | |
height:600px; | |
margin:-75px auto; | |
padding-top:90px; | |
} | |
.gatito{ | |
position:absolute; | |
margin:-50px 0; | |
} | |
.circu{ | |
position:relative; | |
width:291px; | |
height:90px; | |
border-radius:100%; | |
background:rgba(255,255,255,.1); | |
margin:390px auto; | |
} | |
.cat{ | |
position:absolute; | |
display:block; | |
width: 149px; | |
height: 162px; | |
border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; | |
background:#ccc; | |
border:1px solid gray; | |
border-top:3px solid gray; | |
margin:-70px 70px; | |
animation:baja9 3s alternate infinite; | |
-moz-animation:baja9 3s alternate infinite; | |
-webkit-animation: baja9 3s alternate infinite; | |
} | |
.head{ | |
position:absolute; | |
margin:3px -5px; | |
animation:baja 3s alternate infinite; | |
-moz-animation:baja 3s alternate infinite; | |
-webkit-animation: baja 3s alternate infinite; | |
} | |
.head7{ | |
position:absolute; | |
display:block; | |
width: 142px; | |
height: 135px; | |
border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; | |
background:#ccc; | |
border:2px solid gray; | |
margin:-192px 75px; | |
} | |
.ore{ | |
position:absolute; | |
width:70px; | |
height:90px; | |
border-radius:50px 500px 50px 500px; | |
background:#94948c; | |
-webkit-transform: rotate(12deg); | |
transform: rotate(12deg); | |
margin:-201px 50px; | |
border:7px solid #d9d9d3; | |
animation:sube3 3s alternate infinite; | |
-moz-animation:sube3 3s alternate infinite; | |
-webkit-animation:sube3 3s alternate infinite; | |
} | |
.ore3{ | |
position:absolute; | |
width:70px; | |
height:90px; | |
border-radius:500px 50px 500px 50px; | |
background:#94948c; | |
-webkit-transform: rotate(-12deg); | |
transform: rotate(-12deg); | |
margin:-201px 158px; | |
border: 7px solid #d9d9d3; | |
animation:sube7 3s alternate infinite; | |
-moz-animation:sube7 3 alternate infinite; | |
-webkit-animation:sube7 3s alternate infinite; | |
} | |
.eyes{ | |
position:absolute; | |
width: 43px; | |
height: 43px; | |
border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; | |
background:white; | |
border:1px solid black; | |
margin:50px 12px; | |
} | |
.iris{ | |
position:absolute; | |
width:30px; | |
height:30px; | |
border-radius:100%; | |
background:black; | |
margin:0px 3px; | |
animation:gira3 1s alternate infinite; | |
-moz-animation:gira3 1s alternate infinite; | |
-webkit-animation:gira3 1s alternate infinite; | |
} | |
iris::before{ | |
content:""; | |
position:absolute; | |
width:7px; | |
height:7px; | |
border-radius:100%; | |
background:white; | |
margin:3px 5px; | |
} | |
.eyes3{ | |
position:absolute; | |
width: 43px; | |
height: 43px; | |
border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; | |
background:white; | |
border:1px solid black; | |
margin:50px 85px; | |
} | |
.iris3{ | |
position:absolute; | |
width:30px; | |
height:30px; | |
border-radius:100%; | |
background:black; | |
margin:0px 3px; | |
animation:gira3 1s alternate infinite; | |
-moz-animation:gira3 1s alternate infinite; | |
-webkit-animation:gira3 1s alternate infinite; | |
} | |
iris3::before{ | |
content:""; | |
position:absolute; | |
width:7px; | |
height:7px; | |
border-radius:100%; | |
background:white; | |
margin:3px 14px; | |
} | |
.nose{ | |
position:absolute; | |
width: 0; | |
height: 0; | |
border-left: 9px solid transparent; | |
border-right: 9px solid transparent; | |
border-bottom: 9px solid black; | |
border-radius: 100px / 50px; | |
margin:87px 62px; | |
z-index:3335; | |
animation:va 3s alternate infinite; | |
-moz-animation:va 3s alternate infinite; | |
-webkit-animation:va 3s alternate infinite; | |
} | |
.bocas3{ | |
position:absolute; | |
width:21px; | |
height:12px; | |
border-radius:0 0 30px 30px; | |
background:#333; | |
border:7px solid #333; | |
margin:93px 55px; | |
} | |
.boqui{ | |
position:absolute; | |
width:35px; | |
height:35px; | |
border-radius:100%; | |
background:#ddd; | |
border-right:2px solid gray; | |
margin:85px 35px; | |
animation:va 3s alternate infinite; | |
-moz-animation:va 3s alternate infinite; | |
-webkit-animation:va 3s alternate infinite; | |
} | |
.boqui::before{ | |
content:""; | |
position:absolute; | |
width:35px; | |
height:35px; | |
border-radius:100%; | |
background:#ddd; | |
border-left:2px solid gray; | |
margin:0px 35px | |
} | |
.bigotitos{ | |
position:absolute; | |
width:90px; | |
height:30px; | |
border-radius:100%; | |
border-bottom:2px solid black; | |
margin:75px -12px; | |
animation:va 3s alternate infinite; | |
-moz-animation:va 3s alternate infinite; | |
-webkit-animation:va 3s alternate infinite; | |
} | |
.bigotitos::before{ | |
content:""; | |
position:absolute; | |
width:70px; | |
height:21px; | |
border-radius:100%; | |
border-bottom:2px solid black; | |
margin:13px 7px; | |
-webkit-transform: rotate(-12deg); | |
transform: rotate(-12deg); | |
} | |
.bigotitos::after{ | |
content:""; | |
position:absolute; | |
width:70px; | |
height:21px; | |
border-radius:100%; | |
border-bottom:2px solid black; | |
margin:18px 9px; | |
-webkit-transform: rotate(-21deg); | |
transform: rotate(-21deg); | |
} | |
.bigotitos3{ | |
position:absolute; | |
width:90px; | |
height:30px; | |
border-radius:100%; | |
border-bottom:2px solid black; | |
margin:75px 60px; | |
animation:va 3s alternate infinite; | |
-moz-animation:va 3s alternate infinite; | |
-webkit-animation:va 3s alternate infinite; | |
} | |
.bigotitos3::before{ | |
content:""; | |
position:absolute; | |
width:70px; | |
height:21px; | |
border-radius:100%; | |
border-bottom:2px solid black; | |
margin:12px 12px; | |
-webkit-transform: rotate(12deg); | |
transform: rotate(12deg); | |
} | |
.bigotitos3::after{ | |
content:""; | |
position:absolute; | |
width:70px; | |
height:21px; | |
border-radius:100%; | |
border-bottom:2px solid black; | |
margin:16px 13px; | |
-webkit-transform: rotate(25deg); | |
transform: rotate(25deg); | |
} | |
.legs{ | |
position:absolute; | |
width:35px; | |
height:102px; | |
border-radius:35px 35px 0 0; | |
background:#bbb; | |
border:1px solid gray; | |
margin: 3px 86px; | |
-webkit-transform: rotate(12deg); | |
transform: rotate(12deg); | |
animation:baja3 3s alternate infinite; | |
-moz-animation:baja3 3s alternate infinite; | |
-webkit-animation: baja3 3s alternate infinite; | |
} | |
.legs::before{ | |
content:""; | |
display:block; | |
width:45px; | |
height:30px; | |
border-radius:43px; | |
background:#94948c; | |
border:1px solid #333; | |
margin:90px -5px; | |
-webkit-transform: rotate(-9deg); | |
transform: rotate(-9deg); | |
} | |
.legs3{ | |
position:absolute; | |
width:35px; | |
height:102px; | |
border-radius:35px 35px 0 0; | |
background:#bbb; | |
border:1px solid gray; | |
margin: 3px 167px; | |
-webkit-transform: rotate(-12deg); | |
transform: rotate(-12deg); | |
animation:baja7 3s alternate infinite; | |
-moz-animation:baja7 3s alternate infinite; | |
-webkit-animation: baja7 3s alternate infinite; | |
} | |
.legs3::before{ | |
content:""; | |
display:block; | |
width:45px; | |
height:30px; | |
border-radius:43px; | |
background:#94948c; | |
border:1px solid #333; | |
margin:90px -5px; | |
-webkit-transform: rotate(9deg); | |
transform: rotate(9deg); | |
} | |
.legs7{ | |
position:absolute; | |
width:60px; | |
height:60px; | |
border-radius:60px 60px 0 0; | |
background:#ccc; | |
border:1px solid gray; | |
margin:21px 55px | |
} | |
.legs7::before{ | |
content:""; | |
display:block; | |
width:60px; | |
height:30px; | |
border-radius:21px; | |
background:#94948c; | |
margin:53px -12px | |
} | |
.legs9{ | |
position:absolute; | |
width:60px; | |
height:60px; | |
border-radius:60px 60px 0 0; | |
background:#ccc; | |
border:1px solid gray; | |
margin:21px 170px | |
} | |
.legs9::before{ | |
content:""; | |
display:block; | |
width:60px; | |
height:30px; | |
border-radius:21px; | |
background:#94948c; | |
margin:53px 12px | |
} | |
.cola{ | |
position:absolute; | |
width:30px; | |
height:121px; | |
border-radius:30px; | |
background:#94948c; | |
border:2px solid gray; | |
margin: -152px 130px; | |
animation:baja12 3s alternate infinite; | |
-moz-animation:baja12 3s alternate infinite; | |
-webkit-animation: baja12 3s alternate infinite; | |
} | |
.ball{ | |
position:relative; | |
width:3px; | |
height:152px; | |
background:black; | |
margin:-900px auto; | |
animation: uy 1s ease-in-out alternate infinite; | |
-moz-animation:uy 1s ease-in-out alternate infinite; | |
-webkit-animation:uy 1s ease-in-out alternate infinite; | |
-webkit-transform-origin: uy 50% -40px; | |
-moz-transform-origin:50% -40px; | |
} | |
.ball::after{ | |
content:""; | |
position:absolute; | |
width:45px; | |
height:45px; | |
border-radius:100%; | |
border-left:5px solid white; | |
margin:162px -25px | |
} | |
.ball::before{ | |
content:""; | |
position:absolute; | |
width:60px; | |
height:65px; | |
border-radius:100%; | |
background:#ff6666; | |
border-right:5px solid #E5394A; | |
margin:152px -30px; | |
} | |
.cola3{ | |
position:absolute; | |
width:37px; | |
height:35px; | |
border-radius:100%; | |
background:#94948c; | |
border-bottom:7px solid gray; | |
margin:-3px 0; | |
animation:go 3s alternate infinite; | |
-moz-animation:go 3s alternate infinite; | |
-webkit-animation: go 3s alternate infinite; | |
} | |
@-webkit-keyframes baja { | |
0%,25%{ | |
-webkit-transform:translatey(0px); | |
transform:translatey(0px) } | |
35%,45%,50%,70%,90%,100% { | |
-webkit-transform:translatey(172px); | |
transform:translatey(172px) }} | |
@keyframes baja { | |
0%,25%{ | |
-webkit-transform:translatey(0px); | |
transform:translatey(0px) } | |
35%,45%,50%,70%,90%,100% { | |
-webkit-transform:translatey(172px); | |
transform:translatey(172px) }} | |
@-webkit-keyframes baja3{ | |
0%,25%,35%{ margin: 3px 86px; } | |
40%,50%{ margin: 7px 86px;} | |
60%,80%{ margin:3px 86px;} | |
90%,100% { margin: 7px 86px;}} | |
@keyframes baja3{ | |
0%,25%,35%{ margin: 3px 86px; } | |
40%,50%{ margin: 7px 86px;} | |
60%,80%{ margin:3px 86px;} | |
90%,100% { margin: 7px 86px;}} | |
@-webkit-keyframes baja7{ | |
0%,25%,35%{ margin: 3px 167px; } | |
40%,50%{ margin: -7px 167px; } | |
60%,80%{ margin: 3px 167px; } | |
90%,100% { | |
margin:-7px 167px; }} | |
@keyframes baja7{ | |
0%,25%,35%{ margin: 3px 167px; } | |
40%,50%{ margin: -7px 167px; } | |
60%,80%{ margin: 3px 167px; } | |
90%,100% { | |
margin:-7px 167px; }} | |
@-webkit-keyframes baja9 { | |
0%,25%{ -webkit-transform: rotate(0deg); | |
transform: rotate(0deg); } | |
30%,40%{ -webkit-transform: rotate(-7deg); | |
transform: rotate(-7deg); } | |
50%,60%{ | |
-webkit-transform: rotate(7deg); | |
transform: rotate(7deg); } | |
70%,80%{ -webkit-transform: rotate(-7deg); | |
transform: rotate(-7deg);} | |
90%,100%{ -webkit-transform: rotate(0deg); | |
transform: rotate(0deg); } | |
} | |
@keyframes baja9 { | |
0%,25%{ -webkit-transform: rotate(0deg); | |
transform: rotate(0deg); } | |
30%,40%{ -webkit-transform: rotate(-7deg); | |
transform: rotate(-7deg); } | |
50%,60%{ | |
-webkit-transform: rotate(7deg); | |
transform: rotate(7deg); } | |
70%,80%{ -webkit-transform: rotate(-7deg); | |
transform: rotate(-7deg);} | |
90%,100%{ -webkit-transform: rotate(0deg); | |
transform: rotate(0deg); } | |
} | |
@-webkit-keyframes baja12 { | |
0%,25%{ -webkit-transform: rotate(0deg); | |
transform: rotate(0deg); } | |
30%,40%{ -webkit-transform: rotate(7deg); | |
transform: rotate(7deg); } | |
50%,60%{ | |
-webkit-transform: rotate(-7deg); | |
transform: rotate(-7deg); } | |
70%,80%{ -webkit-transform: rotate(7deg); | |
transform: rotate(7deg);} | |
90%,100%{ -webkit-transform: rotate(0deg); | |
transform: rotate(0deg); } | |
} | |
@keyframes baja12 { | |
0%,25%{ -webkit-transform: rotate(0deg); | |
transform: rotate(0deg); } | |
30%,40%{ -webkit-transform: rotate(7deg); | |
transform: rotate(7deg); } | |
50%,60%{ | |
-webkit-transform: rotate(-7deg); | |
transform: rotate(-7deg); } | |
70%,80%{ -webkit-transform: rotate(7deg); | |
transform: rotate(7deg);} | |
90%,100%{ -webkit-transform: rotate(0deg); | |
transform: rotate(0deg); } | |
} | |
@-webkit-keyframes gira3{ | |
0% {-webkit-transform:translatex(6px);transform:translatex(6px)} | |
100% {-webkit-transform:translatex(0px);transform:translatex(0px)}} | |
@keyframes gira3{ | |
0% {-webkit-transform:translatex(6px);transform:translatex(6px)} | |
100% {-webkit-transform:translatex(0px);transform:translatex(0px)}} | |
@-webkit-keyframes uy{ | |
0%{ | |
transform:rotate(-21deg); | |
-webkit-transform:rotate(-21deg); | |
-moz-transform:rotate(-21deg);} | |
100%{ | |
transform:rotate(21deg); | |
-webkit-transform:rotate(21deg); | |
-moz-transform:rotate(21deg); | |
}} | |
@keyframes uy{ | |
0%{ | |
transform:rotate(-21deg); | |
-webkit-transform:rotate(-21deg); | |
-moz-transform:rotate(-21deg);} | |
100%{ | |
transform:rotate(21deg); | |
-webkit-transform:rotate(21deg); | |
-moz-transform:rotate(21deg); | |
}} | |
@-webkit-keyframes sube3{ | |
0%,25%{ -webkit-transform: rotate(0deg); | |
transform: rotate(0deg); } | |
35%,45%,50%,70%,90%,100% { | |
-webkit-transform: rotate(21deg); | |
transform: rotate(21deg); }} | |
@keyframes sube3{ | |
0%,25%{ -webkit-transform: rotate(0deg); | |
transform: rotate(0deg); } | |
35%,45%,50%,70%,90%,100% { | |
-webkit-transform: rotate(21deg); | |
transform: rotate(21deg); }} | |
@-webkit-keyframes sube7 { | |
0%,25%{ -webkit-transform: rotate(0deg); | |
transform: rotate(0deg); } | |
35%,45%,50%, 70%,90%,100% { | |
-webkit-transform: rotate(-21deg); | |
transform: rotate(-21deg); }} | |
@keyframes sube7 { | |
0%,25%{ -webkit-transform: rotate(0deg); | |
transform: rotate(0deg); } | |
35%,45%,50%, 70%,90%,100% { | |
-webkit-transform: rotate(-21deg); | |
transform: rotate(-21deg); }} | |
@-webkit-keyframes go { | |
0%,25% {-webkit-transform:translatex(0px) translatey(0px) scale(1);transform:translatex(0px) translatey(0px) scale(1)} | |
30%,50% {-webkit-transform:translatex(-7px) translatey(0px) scale(1);transform:translatex(-7px) translatey(0px) scale(1)} | |
60%,80% {-webkit-transform:translatex(0px) translatey(3px) scale(1);transform:translatex(0px) translatey(3px) scale(1)} | |
90%,100% {-webkit-transform:translatex(-3px) translatey(0px) scale(.9);transform:translatex(-3px) translatey(0px) scale(.9)}} | |
@keyframes go { | |
0%,25% {-webkit-transform:translatex(0px) translatey(0px) scale(1);transform:translatex(0px) translatey(0px) scale(1)} | |
30%,50% {-webkit-transform:translatex(-7px) translatey(0px) scale(1);transform:translatex(-7px) translatey(0px) scale(1)} | |
60%,80% {-webkit-transform:translatex(0px) translatey(3px) scale(1);transform:translatex(0px) translatey(3px) scale(1)} | |
90%,100% {-webkit-transform:translatex(-3px) translatey(0px) scale(.9);transform:translatex(-3px) translatey(0px) scale(.9)}} | |
@-webkit-keyframes va{ | |
0%,25%{-webkit-transform:translateY(0px);transform:translateY(0px)} | |
50%,60%{ | |
-webkit-transform:translateY(3px); | |
transform:translateY(3px) } | |
70%,80%{ -webkit-transform:translateY(-3px); transform:translateY(-3px)} | |
90%,100%{ -webkit-transform:translateY(0px); transform:translateY(0px)} | |
} | |
@keyframes va{ | |
0%,25%{-webkit-transform:translateY(0px);transform:translateY(0px)} | |
50%,60%{ | |
-webkit-transform:translateY(3px); | |
transform:translateY(3px) } | |
70%,80%{ -webkit-transform:translateY(-3px); transform:translateY(-3px)} | |
90%,100%{ -webkit-transform:translateY(0px); transform:translateY(0px)} | |
} | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="gradient"> | |
</div> | |
<div class="container"> | |
<div class="ball3"> | |
</div> | |
<div class="circu"> | |
<div class="gatito"> | |
<div class="cola"> | |
<div class="cola3"> | |
</div> | |
</div> | |
<div class="legs7"> | |
</div> | |
<div class="legs9"> | |
</div> | |
<div class="cat"> | |
</div> | |
<div class="legs"> | |
</div> | |
<div class="legs3"> | |
</div> | |
<div class="head"> | |
<div class="ore"> | |
</div> | |
<div class="ore3"> | |
</div> | |
<div class="head7"> | |
<div class="eyes"> | |
<div class="iris"> | |
</div> | |
</div> | |
<div class="eyes3"> | |
<div class="iris3"> | |
</div> | |
</div> | |
<div class="bocas3"> | |
</div> | |
<div class="bigotitos"> | |
</div> | |
<div class="bigotitos3"> | |
</div> | |
<div class="boqui"> | |
</div> | |
<div class="nose"> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="ball"> | |
</div> | |
</div> | |
<div class="ap" id="ap"> | |
<div align="center"> | |
<div id="dibawah"> | |
<span style="font-family: arial ; font-size: 12px; color:#80C8FE;"> EDITED BY. <a href="https://Link Download"title="Mari Belajar"><span style="color: #FFFF00; font-size: 14px;"> M - 2010 </a> DOWNLOAD </a> | |
</div> | |
<div id="posisi"> | |
<span style="font-family: arial ; font-size: 12px; color:#80C8FE;"> COPYRIGHT <a href="http://codepen.io/Myscript2010/pen/dOjxjP"target="_blank" title="Mari Belajar"><span style="color: #FFFF00; font-size: 14px;"> © - 2016 </a> CODEPEN </a> | |
</div> | |
<h2><div align="center" style="margin-top:-3px"> | |
<audio id="player" preload="auto"> | |
<source src="https://sites.google.com/site/sulelagu042/l/Instrumental-Broery-Aku-Begini-Betaria-Pulangkan-M2010.mp3"> | |
</source></h2> | |
</a></div> | |
</div> | |
<header> | |
<a href="http://sample-mys2010.blogspot.co.id/2016/12/catch-ball.html" target="_blank" title="Mari Belajar"> | |
<h2> | |
<span style="color:orange; font-size: 10pt">LET'S STUDY</a> </h2> | |
</a> | |
</div> | |
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="mys2010-list"> | |
<script src='//assets.codepen.io/assets/common/stopExecutionOnTimeout.js?t=1'> | |
</script> | |
<script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'> | |
</script> | |
<link rel='stylesheet prefetch' href='http://cdn.jsdelivr.net/mediaelement/2.13.1/mediaelementplayer.min.css'> | |
<script src='http://cdn.jsdelivr.net/mediaelement/2.13.1/mediaelement-and-player.min.js'> | |
</script> | |
<script src="//assets.codepen.io/assets/common/stopExecutionOnTimeout-f961f59a28ef4fd551736b43f94620b5.js"></script> | |
<script> | |
$(function () { | |
$('video,audio').mediaelementplayer({ | |
success: function (mediaElement, domObject) { | |
var audio_src = $('li.current').attr('data-url'); | |
mediaElement.setSrc(audio_src); | |
mediaElement.addEventListener('ended', function (e) { | |
mys2010PlayNext(e.target); | |
}, false); | |
}, | |
keyActions: [] | |
}); | |
$('.mys2010-list li').click(function () { | |
$(this).addClass('current').siblings().removeClass('current'); | |
var audio_src = $(this).attr('data-url'); | |
$('audio#mys2010:first').each(function () { | |
this.player.pause(); | |
this.player.setSrc(audio_src); | |
this.player.play(); | |
}); | |
}); | |
}); | |
function mys2010PlayNext(currentPlayer) { | |
if ($('.mys2010-list li.current').length > 0) { | |
var current_item = $('.mys2010-list li.current:first'); | |
var audio_src = $(current_item).next().text(); | |
$(current_item).next().addClass('current').siblings().removeClass('current'); | |
console.log('if ' + audio_src); | |
} else { | |
var current_item = $('.mys2010-list li:first'); | |
var audio_src = $(current_item).next().text(); | |
$(current_item).next().addClass('current').siblings().removeClass('current'); | |
console.log('elseif ' + audio_src); | |
} | |
if ($(current_item).is(':last-child')) { | |
$(current_item).removeClass('current'); | |
} else { | |
currentPlayer.setSrc(audio_src); | |
currentPlayer.play(); | |
}} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment