Memasang Kode Horizontal Scroll Slider
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 pratinjau untuk melihat hasil dan 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 pratinjau untuk melihat hasil dan klik simpan selesai
Kemudian klik entri halaman baru HTML pada link tersebut.
copy kode dibawah ini, pastekan kedalam Entri halaman baru HTML dan klik simpan selesai
copy kode dibawah ini, pastekan kedalam Entri halaman baru HTML dan klik simpan selesai
<style class="Mys2010-styles"> body {);color:red;height:100%;overflow:hidden;} 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; } h6 { 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:35px; -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 ; } } /*end*/ .shadow-atas:after { content: " "; box-shadow: 0 0 200px 108px #fff; } .shadow-atas:before { content: " "; box-shadow: 0 0 200px 110px #809FFE; } #M2010-shadow-atas { margin:-110px; box-shadow: 0 0 150px 80px #A52A2A; } .shadow-bawah:before,.shadow-bawah:after { z-index:-1; position:absolute; content: " "; bottom:25px; left:10px; width:50%; max-width:110px; box-shadow: 0 0 200px 90px #809FFE; -webkit-transform:rotate(-8deg); -moz-transform:rotate(-8deg); -o-transform:rotate(-8deg); -ms-transform:rotate(-8deg); transform:rotate(-8deg); } .shadow-bawah:after { -webkit-transform:rotate(8deg); -moz-transform:rotate(8deg); -o-transform:rotate(8deg); -ms-transform:rotate(8deg); transform:rotate(8deg); right:10px; left:auto; }
/*slider*/ @import url(http://fonts.googleapis.com/css?family=Open+Sans); @-webkit-keyframes fill { 0% { width: 0%; height: 1px; } 50% { width: 100%; height: 1px; } 100% { width: 100%; height: 100%; background: #fff; } } @keyframes fill { 0% { width: 0%; height: 1px; } 50% { width: 100%; height: 1px; } 100% { width: 100%; height: 100%; background: #fff; } } @-webkit-keyframes fillColour { 0% { color: #fff; } 50% { color: #fff; } 100% { color: #333; } } @keyframes fillColour { 0% { color: #fff; } 50% { color: #fff; } 100% { color: #333; } } * { margin: 0; padding: 0; box-sizing: border-box; font-family: "Open Sans", sans-serif; } body { overflow: hidden; font-size: 100%; } nav { text-align: center; background: rgba(no color); position: fixed; z-index: 100; height:100px; left: 0; width: 10vw; margin-top:51px; font-weight: 300; font-size: 1rem; } nav ul { list-style-type: none; height:80vh; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -ms-flex-pack: distribute; justify-content: space-around; } nav a, nav a:visited, nav a:active { text-decoration: none; color: #f00px; } nav a { -webkit-transition: color 2s, background 1s; transition: color 2s, background 1s; padding: 10px; position: relative; z-index: 0; } nav a.active { background: rgba(0, 0, 0, 0.9); } nav a::before { content: ""; position: absolute; height: 0%; width: 0%; bottom: 0; left: 0; opacity: 1; background: #555; z-index: -1; } nav a:hover { -webkit-animation: fillColour 0.7s forwards ease-in-out; animation: fillColour 0.7s forwards ease-in-out; } nav a:hover::before { -webkit-animation: fill 0.7s forwards ease-in-out; animation: fill 0.7s forwards ease-in-out; opacity: 1; } .slides { width: 500vw; height: 100vh; -webkit-transition: -webkit-transform 0.8s ease; transition: -webkit-transform 0.8s ease; transition: transform 0.8s ease; transition: transform 0.8s ease, -webkit-transform 0.8s ease; } .slides .slide { height: 100vh; width: 100vw; background: pink; float: left; text-align: center; background-size: cover; } .slides .slide .content { width: 80vw; padding: 220px; background: rgba(No Color); margin: 35vh 0 0 15vw; border-radius: 5px; } .slides .slide .content p { padding: 10px 0; border-bottom: 1px solid black; } .slides .slide:nth-child(1) { background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9kl6QsINcFqmlr7Q0VTDrKfHgEbd0jBl-H9w44biJFIYPSDc9wIF7MdqRXROaR5gzzLz7x0PcDWxOCH5MN3_PKN5dzVjGIRRfDOyHciClHi_9uTwJ_znq-4PoUMj8Sf_Xp_aeu-0LWw9V/s1600/Edit-M2010.jpg); } .slides .slide:nth-child(2) { background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9kl6QsINcFqmlr7Q0VTDrKfHgEbd0jBl-H9w44biJFIYPSDc9wIF7MdqRXROaR5gzzLz7x0PcDWxOCH5MN3_PKN5dzVjGIRRfDOyHciClHi_9uTwJ_znq-4PoUMj8Sf_Xp_aeu-0LWw9V/s1600/Edit-M2010.jpg); } .slides .slide:nth-child(3) { background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9kl6QsINcFqmlr7Q0VTDrKfHgEbd0jBl-H9w44biJFIYPSDc9wIF7MdqRXROaR5gzzLz7x0PcDWxOCH5MN3_PKN5dzVjGIRRfDOyHciClHi_9uTwJ_znq-4PoUMj8Sf_Xp_aeu-0LWw9V/s1600/Edit-M2010.jpg); } .slides .slide:nth-child(4) { background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9kl6QsINcFqmlr7Q0VTDrKfHgEbd0jBl-H9w44biJFIYPSDc9wIF7MdqRXROaR5gzzLz7x0PcDWxOCH5MN3_PKN5dzVjGIRRfDOyHciClHi_9uTwJ_znq-4PoUMj8Sf_Xp_aeu-0LWw9V/s1600/Edit-M2010.jpg); } .slides .slide:nth-child(5) { background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9kl6QsINcFqmlr7Q0VTDrKfHgEbd0jBl-H9w44biJFIYPSDc9wIF7MdqRXROaR5gzzLz7x0PcDWxOCH5MN3_PKN5dzVjGIRRfDOyHciClHi_9uTwJ_znq-4PoUMj8Sf_Xp_aeu-0LWw9V/s1600/Edit-M2010.jpg); } .slides .slide img { width: 100%; } h2 { font-family: 'Rye', cursive; text-transform: uppercase; text-align: left; font-weight: 400 px; line-height: 1.5; text-shadow: 1px 1px 0px red; -webkit-transition: all 0.8s; transition: all 0.8s; } h2 { padding: 10px; font-size: 2.5em; color: RGBA(51, 61, 61, 1); } @media all and (min-width: 50em) { h2 { padding: 5px; font-size: 2.5em; } } </style>
<div align="center" style="margin-top:110px"> <div id="M2010-shadow-atas"> </div> <div class="shadow-atas"> </div> <div class="shadow-bawah"> </div> <nav> <ul> <li><a rel="nofollow" rel="noreferrer"href="#1">Slide 1</a></li> <li><a rel="nofollow" rel="noreferrer"href="#2">Slide 2</a></li> <li><a rel="nofollow" rel="noreferrer"href="#3">Slide 3</a></li> <li><a rel="nofollow" rel="noreferrer"href="#4">Slide 4</a></li> <li><a rel="nofollow" rel="noreferrer"href="#5">Slide 5</a></li> </ul> </nav> <div class="slides"> <div class="slide" id="1"> <div class="content"> <h2>❦</h2> </div> </div> <div class="slide" id="2"> <div class="content"> <h2>Slide 2</h2> </div> </div> <div class="slide" id="3"> <div class="content"> <h2>Slide 3</h2> </div> </div> <div class="slide" id="4"> <div class="content"> <h2>Slide 4</h2> </div> </div> <div class="slide" id="5"> <div class="content"> <h2>Slide 5</h2> </div> </div> </div>
<header> <a href="http://Link Judul" target="_blank" title="Mari Belajar"> <h6> <span style="color:orange; font-size: 10pt">LET'S STUDY</a> </h6> </a> </div> </header>
<div class="ap" id="ap"> <div align="center"> <div id="dibawah"> <span style="font-family:arial;font-size:11px; 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://Link Judul"target="_blank" title="Mari Belajar"><span style="color: #FFFF00; font-size: 14px;"> © - 2017 </a> CODEPEN </a> </div> <h6><div align="center" style="margin-top:-5px"> <audio id="player" preload="auto"> <source src="https://sites.google.com/site/nusulestudy/lagu/tifa-M2010.mp3"> </source></h6> </a></div> </div>
<link Slider> <link rel='stylesheet prefetch' href='//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css'> <script src="//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js"> </script> <script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src='//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js'></script> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.12/jquery.mousewheel.min.js'></script> <text Bold> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link href='http://fonts.googleapis.com/css?family=Rye' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'> <link Audio mp3> <link rel='stylesheet prefetch'href='http://cdn.jsdelivr.net/mediaelement/2.13.1/mediaelementplayer.min.css'> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-58d22c749295bca52f487966e382a94a495ac103faca9206cbd160bdf8aedf2a.js'> </script> <script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'> </script> <script src="https://cdn.jsdelivr.net/mediaelement/2.13.1/mediaelement-and-player.min.js"> </script>
<script> $(function() { function showSlide(n) { // n is relative position from current slide // unbind event listener to prevent retriggering $body.unbind("mousewheel"); // increment slide number by n and keep within boundaries currSlide = Math.min(Math.max(0, currSlide + n), $slide.length-1); var displacment = window.innerWidth*currSlide; // translate slides div across to appropriate slide $slides.css('transform', 'translateX(-' + displacment + 'px)'); // give small delay before rebinding event to prevent retriggering setTimeout(bind, 250); // change active class on link $('nav a.active').removeClass('active'); $($('a')[currSlide]).addClass('active');} function bind() { $body.bind('mousewheel', mouseEvent);} function mouseEvent(e, delta) { // On down scroll, show next slide otherwise show prev slide showSlide(delta >= 0 ? -1 : 1); e.preventDefault();} $('nav a').click(function(e) { // When link clicked, find slide it points to var newslide = parseInt($(this).attr('href')[1]); // find how far it is from current slide var diff = newslide - currSlide - 1; showSlide(diff); // show that slide e.preventDefault();}); $(window).resize(function(){ // Keep current slide to left of window on resize var displacment = window.innerWidth*currSlide; $slides.css('transform', 'translateX(-'+displacment+'px)');}); // cache var $body = $('body'); var currSlide = 0; var $slides = $('.slides'); var $slide = $('.slide'); // give active class to first link $($('nav a')[0]).addClass('active'); // run da ting //add event listener for mousescroll $body.bind('mousewheel', mouseEvent);}) </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) { mejsPlayNext(e.target); }, false); }, keyActions: [] }); $('.mejs-list li').click(function () { $(this).addClass('current').siblings().removeClass('current'); var audio_src = $(this).attr('data-url'); $('audio#mejs:first').each(function () { this.player.pause(); this.player.setSrc(audio_src); this.player.play(); }); }); }); function mejsPlayNext(currentPlayer) { if ($('.mejs-list li.current').length > 0) { var current_item = $('.mejs-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 = $('.mejs-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>
If you want to directly copy and paste you canDownload quote share about websites