Showing posts with label Text on a Circle Animation Laser with audio. Show all posts
Showing posts with label Text on a Circle Animation Laser with audio. Show all posts

Memasang Kode Text on a Circle Animation Laser with audio
Login ke akun blog klik tombol blog baru, buat satubuah link baru   
kemudian beri nama sesuai fungsi,  klik Edit HTML pada link baru tersebut, 
hapus semua kode template ganti dengan kode blank template, yang tersedia pada sumber  berikut :  Get Blank Template.   edit background warna sesuai keinginan klik simpan selesai.
Kemudian klik entri halaman baru HTML pada link tersebut.
copy kode dibawah ini, pastekan kedalam halaman baru tersebut dan klik simpan selesai
<style class="M2010-styles">
body {);color:red;height:100%;overflow:hidden;}
body{
  background: linear-gradient(0deg, #000, pink 80%) ;
}
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: -10px;
width: 100%;
text-align: center;
text-shadow: 0px 0px #fff;  
font-size:  6px;
background: -moz-linear-gradient(top, #dad 0%,#111 100%);
border-bottom: 3px solid #dad;  
}
.ap {
position: fixed;
right: 0;
bottom:-6px;
left: 0;
height: 60px;
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;
text-shadow: 0px 0px #FFf;  
font-size:  11px;
background:  #111;
border-top: 2px solid #f0f;
z-index: 9999;
} 
h2 {
padding: 15px; 
background: -webkit-linear-gradient(transparent 10%, goldenrod 50%, transparent 90%); 
background: linear-gradient(transparent 10%, #dad 50%, transparent 90%); 
} 
#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: 17px;
}</style>
<div align="center">
<Ganti Dengan Link Sobat>
<iframe border="10" src="http://sule-m2010.blogspot.co.id/2016/07/animated-laser2.html" style="border: 10px; height: 550px; width:1370px;"></iframe> 
</div>
<div class="ap" id="ap">
<div align="center">
<div id="dibawah">
<span style="font-family: arial ; font-size: 12px; color:#111;"> EDITED BY. <a href="http://Your Link"target="_blank" title="Mari Belajar"><span style="color: #FFFF00; font-size: 14px;">&nbsp; M - 2010 </a>&nbsp; GET CODE </a> 
</div>
<div id="posisi">
<span style="font-family: arial ; font-size: 12px; color:#111;"> COPYRIGHT <a href="http://codepen.io/Myscript2010" target="_blank" title="Mari Belajar"><span style="color: #FFFF00; font-size: 14px;">&nbsp; &copy; - 2016 </a>&nbsp; CODEPEN </a> 
</div>
<h2>
<audio id="mys2010" src="https://sites.google.com/site/safe50534/lagu/Amos-lee-lue-eyes-color-flower-sprit-M2010.mp3"controls="controls"></audio></h2>
</a></div>
</div>
<header>
<a href="http://myscript2010s.blogspot.co.id" target="_blank" title="Mari Belajar">
<h2>
<span style="color:#000; font-size: 10pt">LET'S STUDY</a>  </h2>
</a>  
</div>
</header>
<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>
Text on a Circle Code by. pzin
Audio Code by. Jereme Causing
Text Laser Code by. Johan Karlsson
Design Code is Edited by. Mys2010 on Codepen
If you want to directly copy  and  paste you canDownload Here Text on a Circle Laser 
Untuk Link Animasi silahkanDownload disini  LihatDemoshow Text on a Circle Laser