Memasang Kode Photos in the frame
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:#151515;height:100%;overflow:hidden;} body { background: #151515; } body { text-align: center; } .item { list-style-type: none; position: relative; display: inline-block; background-color: black; margin-top: -8px; padding: 2rem; -moz-box-shadow: rgba(0, 0, 0, 0.7) 0 1rem 2rem 0; -webkit-box-shadow: rgba(0, 0, 0, 0.7) 0 1rem 2rem 0; box-shadow: rgba(0, 0, 0, 0.7) 0 1rem 2rem 0; } .inner { position: relative; padding: 1rem; background-color: white; -moz-box-shadow: rgba(0, 0, 0, 0.7) 0 0 1.5rem 0 inset; -webkit-box-shadow: rgba(0, 0, 0, 0.7) 0 0 1.5rem 0 inset; box-shadow: rgba(0, 0, 0, 0.7) 0 0 1.5rem 0 inset; } /*end*/ body::before { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-image: linear-gradient(bottom, rgba(255,255,255,.3) 26%, rgb(188,52,255) 63%, rgba( 0, 0, 0, 0.8 ) 91%); background-image: -o-linear-gradient(bottom, rgba(255,255,255,.3) 26%, rgb(188,52,255) 63%, rgba( 0, 0, 0, 0.8 ) 91%); background-image: -moz-linear-gradient(bottom, rgba(255,255,255,.3) 26%, rgb(188,52,255) 63%, rgba( 0, 0, 0, 0.8 ) 91%); background-image: -webkit-linear-gradient(bottom, rgba(255,255,255,.3) 26%, rgb(188,52,255) 63%, rgba( 0, 0, 0, 0.8 ) 91%); background-image: -ms-linear-gradient(bottom, rgba(255,255,255,.3) 26%, rgb(188,52,255) 63%, rgba( 0, 0, 0, 0.8 ) 91%); -webkit-animation: overlay infinite 12s; animation: overlay infinite 12s; content: ''; } @-webkit-keyframes transform { 0%, 16% { opacity: 0; -webkit-transform: translateY(-50%) rotateX(-90deg); transform: translateY(-50%) rotateX(-90deg); } 18% { opacity: 1; } 40% { opacity: 1; -webkit-transform: translateY(-50%) rotateX(0deg); transform: translateY(-50%) rotateX(0deg); } } @keyframes transform { 0%, 16% { opacity: 0; -webkit-transform: translateY(-50%) rotateX(-90deg); transform: translateY(-50%) rotateX(-90deg); } 18% { opacity: 1; } 40% { opacity: 1; -webkit-transform: translateY(-50%) rotateX(0deg); transform: translateY(-50%) rotateX(0deg); } } @-webkit-keyframes overlay { 0% { opacity: .5; } 18%, 81% { opacity: 0; } 92%, 100% { opacity: .5; } } @keyframes overlay { 0% { opacity: .5; } 18%, 81% { opacity: 0; } 92%, 100% { opacity: .5; } } @-webkit-keyframes opacity { 0%, 4% { opacity: 0; } 18%, 81% { opacity: 1; } 92%, 100% { opacity: 0; } } @keyframes opacity { 0%, 4% { opacity: 0; } 18%, 81% { opacity: 1; } 92%, 100% { opacity: 0; } } </style>
<figure class="item"> <div class="inner"> <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQIJW7Wg9cTQZspSpLrBQvwbBwniGlnPL5PWYQNTkhs3lDURM3V3PDrqSCMPw1DEmzSY7WltpgL0LcMKfNcKdNAo6d9jYV_Evx7wYiRiocCelYkZ1GHowGvwWT1uzZYxRfvGpq8a8w-SY/s1600/kina-grannis-mys2010.jpg" name="e902" border="0" width="350" height="370" /></a> </div> <figcaption class="title"> <audio id="mys2010" src="https://sites.google.com/site/fileblogfor/code/Fix-You-Kinna-Mys2010.mp3" controls="controls"></audio> <a href="https://sites.google.com/site/code6916/file/Photos-in-the-frame-Mys2010.css" target="_blank" title="Download Full Code"><b>DOWNLOAD</b></a> </figure>
<ul class="mys2010-list"><link rel='stylesheet prefetch' href='http://cdn.jsdelivr.net/mediaelement/2.13.1/mediaelementplayer.min.css'> <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> <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.
Mys2010 In Codepen
If you want to directly copy and paste you canDownload Here Photos in the frame
see also different appearance in the photo frameClick Here for a different view