1. Login ke akun blogger.
2. Copy kode dibawah ini.
<style>Keterangan:
.main_slider {
float: left;
position: relative;
}
.window_slider {
height:286px;
width: 900px;
overflow: hidden;
position: relative;
}
.image_reel {
position: absolute;
top: 0; left: 0;
}
.image_reel img {float: left;}
.paging {
position: absolute;
bottom: 40px; right: -7px;
width: 178px; height:47px;
z-index: 100;
text-align: center;
line-height: 40px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-WXfs_32d2eu45PGlB6wai2sjjfvFP92Q8b3olX1NQdN1yIrUiOJMXIgPws0eSq7vAm-AEDn8_ldV_qxAGqnQgD8M622tmZciCi6jhY98SH0vY-UjrK1JCSYAUj4u5r7amfMGZa9fhNa8/h94/paging_bg2.png) no-repeat;
display: none;
}
.paging a {
padding: 5px;
text-decoration: none;
color: #fff;
}
.paging a.active {
font-weight: bold;
background: #920000;
border: 1px solid #610000;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
}
.paging a:hover {font-weight: bold;}
</style>
<script type="text/javascript" src="http://faceblog-evolutions.googlecode.com/files/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".paging").show();
$(".paging a:first").addClass("active");
var imageWidth = $(".window_slider").width();
var imageSum = $(".image_reel img").size();
var imageReelWidth = imageWidth * imageSum;
$(".image_reel").css({'width' : imageReelWidth});
rotate = function(){
var triggerID = $active.attr("rel") - 1;
var image_reelPosition = triggerID * imageWidth;
$(".paging a").removeClass('active');
$active.addClass('active');
$(".image_reel").animate({
left: -image_reelPosition
}, 500 );
};
rotateSwitch = function(){
play = setInterval(function(){
$active = $('.paging a.active').next();
if ( $active.length === 0) {
$active = $('.paging a:first');
}
rotate();
}, 7000);
};
rotateSwitch();
$(".image_reel a").hover(function() {
clearInterval(play);
}, function() {
rotateSwitch();
});
$(".paging a").click(function() {
$active = $(this);
clearInterval(play);
rotate();
rotateSwitch();
return false;
});
});
</script>
<div class="main_slider">
<div class="window_slider">
<div class="image_reel">
<a href="http://trikus-kusumo.blogspot.co.id/"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgntMqpot89943brpnHIVB91OL8tQ8M4ROF_cNWwNI9fYTSBvOlswqeAmp4uVsuujU7mh-piFR16WCeZAqMPMlYLkoSc6m8_YiLm7JoB1LxtkbgVWthUapADOJmm7cMYiR21QNzVfvVnRI/w790-h286-no/Faceblog-Evolutions-%25281%2529.jpg" width="900" alt="Faceblog Evolutions"/></a>
<a href="http://trikus-kusumo.blogspot.co.id/"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVNwzrmbeXxvkan_gI8M6AQEKVXY31qbJraL6S7ivHN1WvlaCC6TYI8_Ogstx5qrKIdamJEkWoh41AlHHjJW2_4VYSTtMCwaqUvu0jZq2UGiC_wuBOnZEYwwcyICiEcRZn5dtugvc59FQ/w790-h286-no/Faceblog-Evolutions-%25282%2529.jpg" width="900" alt="Faceblog Evolutions"/></a>
<a href="http://trikus-kusumo.blogspot.co.id/"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYFbFnScxdRAHvEfqqX43DwZkkvGUqZYHL1Pv9bIBfoYH1mixv-KrSM01VkU3QbOVGiiJvO_z4SiIF8Gq8erV9j_g8vp3EVAYm-mLUJOpB5ltwOtdc5EMudytROonr3XZyJUlPwuXBH6Q/w790-h286-no/Faceblog-Evolutions-%25283%2529.jpg" width="900" alt="Faceblog Evolutions"/></a>
<a href="http://trikus-kusumo.blogspot.co.id/"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC3PQZYGbqb4K69cSOY6IPULTibr2WaaYHGVJJ_t4ZzZxEwDTzC3zW6AIQBverSxouK-OUxWR7xpZaHQWF1i4krG68LWDVfZ0U5h8TitL8pWM2vYIBxbE5gO88YDLc5KpwQWpsZ5YSgD8/w790-h286-no/Faceblog-Evolutions-%25284%2529.jpg" width="900" alt="Faceblog Evolutions"/></a>
</div>
</div>
<div style="display: block;" class="paging">
<a href="http://trikus-kusumo.blogspot.co.id/" rel="1">1</a>
<a href="http://trikus-kusumo.blogspot.co.id/" rel="2">2</a>
<a href="http://trikus-kusumo.blogspot.co.id/" rel="3">3</a>
<a href="http://trikus-kusumo.blogspot.co.id/" rel="4">4</a>
</div>
</div>
Ganti "http://yogatamatech.blogspot.com/" dengan URL halaman yang di inginkan.
Untuk width dan height maupun URL gambar silahkan anda sesuikan selera.
3. Selanjutnya klik Tata Letak >> HTML/Javascript lalu paste kode tersebut kemudian Simpan dan lihat hasilnya.
0 komentar:
Post a Comment