Memasang Kode Magic Rays 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.
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
copy kode dibawah ini, pastekan kedalam halaman baru tersebut dan klik simpan selesai
<style class="Mys2010-styles"> body {);color:red;height:100%;overflow:hidden;} body{background: linear-gradient(270deg, #333, #660099, #333, #660099,#008E00, #8E006B,#008E00, #660099, #333, #660099,#333); font-family: 'agency fb', Helvetica, Arial, sans-serif; } body { text-shadow: 0 0 .4em currentcolor, 0 0 .35em yellow, 0 0 .5em orange, 0 0 1em red, 0 0 2em purple; } 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, #333, #660099, #333, #660099,#660, #B20000, #660, #660099, #333, #660099,#333); border-bottom: 3px solid #333; } .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, #333, #660099, #333, #660099,#660, #B20000, #660, #660099, #333, #660099,#333); border-bottom: 3px solid #333; 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%); } #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:28px; }
.shadow-top:after { content: " "; box-shadow: 0 0 200px 80px #FFFF00; } .shadow-top:before { content: " "; box-shadow: 0 0 200px 250px #0033CC; } #M2010-shadow { margin:-150px; box-shadow: 0 0 150px 80px #009999; } .shadow1:before,.shadow1:after { z-index:-1; position:absolute; content: " "; bottom:25px; left:10px; width:50%; max-width:110px; box-shadow: 0 0 200px 90px #FFC0CB; -webkit-transform:rotate(-8deg); -moz-transform:rotate(-8deg); -o-transform:rotate(-8deg); -ms-transform:rotate(-8deg); transform:rotate(-8deg); } .shadow1:after { -webkit-transform:rotate(8deg); -moz-transform:rotate(8deg); -o-transform:rotate(8deg); -ms-transform:rotate(8deg); transform:rotate(8deg); right:10px; left:auto; }
.wrapper { position: relative; height: 100%; } .text { position: relative; z-index: 1; position: absolute; left: -1em; right: -1em; top: 6em; bottom: -1em; margin: auto; height: 1em; font: 5em/1 Broadway, Georgia, cursive; text-align: center; text-shadow: -1px -1px #333, #660099, #333, #660099,#660, #B20000, #660, #660099, #333, #660099,#333); color: #222; -webkit-transition: all .7s; transition: all .7s; } H1:hover { color: lightgray; } UL { position: absolute; left: -1em; right: -1em; top: -1em; bottom: -6em; margin: auto; padding: 0; width: 0; height: 0; list-style: none; -webkit-animation: 10s rotate infinite linear; animation: 10s rotate infinite linear; } LI, LI:before, LI:after { position: absolute; border: 0 solid transparent; border-width: 1.2em 20em; border-color: transparent rgba(255, 0, 0, 0.2); width: 0; height: 0; font-size: 20px; } LI { left: -20em; top: 50%; margin-top: -1.2em; -webkit-transform: rotate(0.1deg); transform: rotate(0.1deg); } LI:before, LI:after { left: -20em; top: -1.2em; display: block; content: ""; } LI:before { -webkit-transform: rotate(60deg); transform: rotate(60deg); } LI:after { -webkit-transform: rotate(-60deg); transform: rotate(-60deg); } LI:nth-child(2) { -webkit-transform: rotate(15deg); transform: rotate(15deg); } LI:nth-child(3) { -webkit-transform: rotate(30deg); transform: rotate(30deg); } LI:nth-child(4) { -webkit-transform: rotate(45deg); transform: rotate(45deg); } @-webkit-keyframes rotate { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes rotate { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } </style>
<div align="center" style="margin-top:110px"> <div class="shadow1"> </div> <div id="M2010-shadow"> </div> <div align="center"> <div class="shadow-top"> </div> <div class="M-logo"> </div> </div></div> <a href="http://Link Title" target="_blank" title="Mari Belajar"> <div class="wrapper"> <h1 class="text">CIBEBER CIMAHI</h1></a> <ul> <li></li> <li></li> <li></li> <li></li> </ul> </div>
<header> <a href="http://Link Title" target="_blank" title="Mari Belajar"> <h2> <span style="color:orange; font-size: 10pt">LET'S STUDY</a> </h2> </a> </div> </header> <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" target="_blank" title="Mari Belajar"><span style="color: #FFFF00; font-size: 14px;"> © - 2016 </a> CODEPEN </a> </div> <h2> <audio id="mys2010" src="https://sites.google.com/site/theecodes/lagu/Don-Williams-Lay-Down-Beside-MeM2010s.mp3"controls="controls"></audio></h2> </a></div> </div>
<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>
Design Code is Edited by.
M-2010 on Codepen
If you want to directly copy and paste you canDownload Here Magic Rays with Audio