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/AVvXsEjqvp0qLBEIdLiNlSfYSBBudI2PW2lEgl-G-vi0z5mj9FiG8iABfiJv7CVsVm26Ks9Q_9bDt7qjwlC43TnL1kXASQXvQMVihcXIOf6RgCltamgSFYG2xcVGBCHL3mlJ3TzMntdjJhvnugNx/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://mas-andes.blogspot.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCZ3K0pY8UkHS9rr307CO4ISQIlyLOwzyV21PR2OECw6bBSaedT1wC4eLdSmcsnJ3G4o2GxwC9EMgHLAwGw7XkjENiuLs4flWpINmoHsD2B_B8ASWSMQ0VahrVs56dwihGgBunYLVySw0/w790-h286-no/Faceblog-Evolutions-%25281%2529.jpg" width="900" alt="Faceblog Evolutions"/></a>
<a href="http://mas-andes.blogspot.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5a1QD-FJZQRtUkwsyb0s-FVAk7Ntg-cvdaMW10TzY_wPmpXZ4evypbMziuwzyPvKTorFAwuwpid0ktiO1KaX4JVWxSxzFNvJYaei9jJeLA_NMkjm94LKui4dZHlbBZ29fNrvIXK5ny8U/w790-h286-no/Faceblog-Evolutions-%25282%2529.jpg" width="900" alt="Faceblog Evolutions"/></a>
<a href="http://mas-andes.blogspot.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhleJHFp9R3apBcEym4y0d70J0XB3fvQ-9JK_zRLSEzKhc-aRJgluNSSXViKcIAb7yHmGMeI8NUgtdqyWyFMOPX6QC0HsNAnkEedGrQ4IB2G0L0v89eZIAlF7WlFEQC7HmbioCbi32fXoY/w790-h286-no/Faceblog-Evolutions-%25283%2529.jpg" width="900" alt="Faceblog Evolutions"/></a>
<a href="http://mas-andes.blogspot.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm3A61gf0EwTCHlLmMCAAXdnMNcWWc4b5JQqSJ_kxHEWS2Hec9H-pqo5EXdBzB65_AiS1STZGsXPCGdm3kuoVzntc3xljne6Mp2fdyUarvywuHFYfPeD1yzievocB6WmcrJRdoBP_5PFI/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://mas-andes.blogspot.com" rel="1">1</a>
<a href="http://mas-andes.blogspot.com" rel="2">2</a>
<a href="http://mas-andes.blogspot.com" rel="3">3</a>
<a href="http://mas-andes.blogspot.com" rel="4">4</a>
</div>
</div>
Ganti "http://mas-andes.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.
Tidak ada komentar:
Posting Komentar