Follo Molo (Become My Stalker And Ask Me To Stalk Back....I prefer a Yandere...)

Bored?You can play around with these line of colours for a while.....it is 100times better than PS4...because I dont have one....

12 Januari 2011

Slideshow Untuk Blog

Cara Buat Slideshow korang sama ada untuk diletak sebagai widget atau di dalam pos.

Demo

1.Pergi ke dashboard-->Layout/Design-->Page Element

2.Klik add a gadget-->HTML/JavaScript Add

3.Pastekan Kod Ni:

<script type="text/javascript">
<!--
var image1=new Image()
image1.src="url gambar korang1.gif"
var image2=new Image()
image2.src="url gambar korang2.gif"
var image3=new Image()
image3.src="url gambar korang3.gif"
//-->
</script>


<img width="160" src="url gambar korang1.gif" name="slide" height="150"/>
<script>
<!--
//variable that will increment through the images
var step=1
function slideit(){
//if browser does not support the image object, exit.
if (!document.images)
return
document.images.slide.src=eval("image"+step+".src")
if (step<3)
step++
else
step=1
//call function "slideit()" every 2.5 seconds
setTimeout("slideit()",2500)
}
slideit()
//-->
</script>

Nota:
*Gantikan url gambar korang.gif dengan url gambar korang contohnya:http://aideal.blogspot.com/gambar.jpg
*Untuk,letak kat pos,semasa di Posting-->edit html,pastekan je kod.
*Ubah nilai width dan height untuk lebar dan tinggi.

4 ulasan

Nota: Hanya ahli blog ini sahaja yang boleh mencatat ulasan.

At the post page,this banner can be spin around ;)