Showing posts with label Text blink on off. Show all posts
Showing posts with label Text blink on off. Show all posts

Memasang Kode Text blink on off 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="Mys2010-styles">
body {);color:red;height:100%;overflow:hidden;}
body {
  margin: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 50%, #000 0%, #12127D 100%);
}
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;
font-size:  6px;
background: -moz-linear-gradient(top, #B20000 0%, rgba(53,02,01,1) 100%);
  border-bottom: 3px solid #dad;  
}
.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:  #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%, #B20000 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;
}
 /*TextNeon*/ 
i.off {
  color: #222;
  text-shadow: 7px 7px 5px rgba(0, 0, 0, 0.5);
}
.active {
  font-weight: bold;
  font-size: 20pt;
}
.red {
  text-shadow: 0 0 5px #ff0202, 0 0 10px #ff0202, 0 0 15px #ff0202, 0 0 20px #ff0202, 0 0 30px #ff0202, 0 0 35px #ff0202, 0 0 40px #ff0202, 0 0 45px #ff0202;
} 
/*end*/
.M2010 {  
  margin: 0 auto;
  text-align: center;
  color: #FFF8DC;
  text-shadow: 0 0 10px #87ceeb, 0 0 15px #87ceeb, 0 0 30px #87CEEB;
}
</style>
<div align="center" style="margin-top:170px">
 <div id="logo" class="blue">
<p align="center">
<font size="50" color="blue"face="Elephant"> 
 
    <i>M</i><i>y</i><i>s</i>
    <i> </i>
    <i>2</i><i>0</i><i>1</i><i>0</i> 
 </div>

<h3 class="M2010">
<div align="center" style="margin-top:10px">
<font size="5" color="#1919B3"face="agency fb">COPYRIGHT &#xA9; 2016 CIBEBER CIMAHI</h3>
</div>
</div>
<p align="center">
<button id="rnd-btn">on</button>
<button id="off-btn">off</button>
<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;">&nbsp; M - 2010 </a>&nbsp; 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;">&nbsp; &copy; - 2016 </a>&nbsp; CODEPEN </a> 
</div>
<h2>
<audio id="mys2010" src="https://sites.google.com/site/theecodes/lagu/Don-WilliamS-Tracess-M2010s.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>
<script>
var letters = $('i'), flickers = [
        5,
        7,
        9,
        11,
        13,
        15,
        17
    ], flickingLetters = [
        2,
        5
    ], colors = [
        'red'
    ], randomLetter, flickerNumber, counter, crazyModeOn = false;
function randomFromInterval(from, to) {
    return Math.floor(Math.random() * (to - from + 1) + from);
}
function randomFromArray(arr) {
    return item = arr[Math.floor(Math.random() * arr.length)];
}
function hasClass(element, cls) {
    return (' ' + element.className + ' ').indexOf(' ' + cls + ' ') > -1;
}
function flicker() {
    counter += 1;
    if (counter === flickerNumber) {
        return;
    }
    setTimeout(function () {
        if (hasClass(randomLetter, 'off')) {
            randomLetter.className = '';
        } else {
            randomLetter.className = 'off';
        }
        flicker();
    }, 30);
}
(function loop() {
    var rand = randomFromInterval(500, 3000);
    randomLetter = randomFromArray(flickingLetters);
    randomLetter = letters[randomLetter];
    flickerNumber = randomFromInterval(0, 12);
    flickerNumber = flickers[flickerNumber];
    setTimeout(function () {
        counter = 0;
        flicker();
        loop();
    }, rand);
}());

$('#on-btn').click(function () {
    $('#logo').attr('class', 'on');
    $('button').attr('class', '');
    crazyModeOn = false;
    $(this).attr('class', 'active');
});
$('#off-btn').click(function () {
    $('#logo').attr('class', 'off');
    $('button').attr('class', '');
    crazyModeOn = false;
    $(this).attr('class', 'active');
});
$('#rnd-btn').click(function () {
    crazyModeOn = !crazyModeOn;
    $('button').attr('class', '');
    $(this).attr('class', 'active');
    (function loop() {
        color = randomFromArray(colors);
        $('#logo').attr('class', color);
        setTimeout(function () {
            if (crazyModeOn) {
                loop();
            }
            ;
        }, 100);
    }());
});
</script> 
Audio Code by. Jereme Causing
Neon Sign code by. Nero Denney
Design Code is Edited by. M-2010 on Codepen
If you want to directly copy  &  paste you canDownload Here Text blink on off audio