News
Loading...

Cara Membuat Slide Show Foto di Blog

 Langsung saja tampa banyak basa-basi..!
1. Log in ke blog sobat
2. Pilih Tata Letak
3.Tambah Gadget
4. Pilih HTML/JavaScript
5. Masukan kode HTML berikut ini:

<script src='http://yourjavascript.com/53816065231/Database5.js' type='text/javascript'></script>
<script type="text/javascript" src="http://yourjavascript.com/65160840132/cycle.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#content-slider').cycle({
fx: 'fade'
});
});
</script>
<style type="text/css">
#content-slider {
   position: relative;
   width: 100%;
   height: 250px;
   overflow: hidden;
   margin:0 auto;
}
#content-slider img {
   display: block;
   width: 100%;
   height: 250px;
}
</style>
<div id="content-slider">
<img src="URL Foto 1" />
<img src="URL Foto 2" />
<img src="URL Foto 3" />
<img src="URL Foto 4" />
</div>

6. Lalu simpan

Catatan :
<img src="URL Foto 1" />
<img src="URL Foto 2" />
<img src="URL Foto 3" />
<img src="URL Foto 4" />
Ganti URL Foto 1,2,3,4 di kode di atas dengan URL Foto anda.
Jika ingin mengurangi / menambah jumlah foto. sobat tinggal kopi atau menghapus  salah satu dari kode ini
<img src="URL Foto 1" />
<img src="URL Foto 2" />
<img src="URL Foto 3" />
<img src="URL Foto 4" />

Semoga berhasil..!
Share on Google Plus

About Gacor News and Tutorial

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.

0 comments :

Post a Comment