Setiap anda reload halaman ini, gambar akan berganti.
Demo :
Cara membuatnya
Dari Dashboard >> Design >> Edit HTML.
Penempatannya
dibawah <body>
........
diatas </body>
<script type='text/javascript'>
//<![CDATA[
/*
Random Image Script- By JavaScript Kit (http://www.javascriptkit.com)
Over 400+ free JavaScripts here!
Keep this notice intact please
*/
function random_imglink(){
var myimages=new Array()
//Tempat URl Gambar
myimages[1]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5VMaFLYfqev3nzYoeM5TyQVPY9OWZcvQY8WNlbyVf8VQNiIGP53KkOvf8IvXzkBJLQ3h406xEf7a4BT8UoZt5bGJCXnNx0zkGmHUoZDXkJwlVoeu3zexYIXrYiOmtqiAFD32-EBQ9RKYL/s144/add%20dashboard.png"
myimages[2]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCFWPL4QJhp8X6gvpO2aG4Wm676_OemYkD-2p40blY7cjBUnC2rKKp5SzbswuzXVv-J5J4Ok5zsrqNuPhFlEwPFA0ikIadl0rgpcjNj6gw5Y3ojOKN4KwJ1tEW2g4bhyCP7K05tk_QCK-8/s144/Settings%20Blogspot.png"
myimages[3]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWOHcnDOVKp0vrGBdsrW1c9N9Yqu5_ygVMzlQyIae8yLMsESqnttZnNj7MEFPtltrH6PQDAJn16W7kszLCLsFcIqh8vsmyc78gVZcJc6cUV8OoCZGAJKHXU9Nxoes-o_LnXTVXAD-gsRFS/s144/gratis%20CO.CC.png"
myimages[4]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-AxB406GWZ3ds3ccxMeUidpfOQh9rTh86WZErLf0Gijmrf5BE654j4G39Y694RR44n9PPcF2Y6t9BZ9kS1xc7aP6W41cVyuhAHqaAjUfhWCGj15e5WfhGU8031whyphenhyphenrSAycEzKL5bPqVyy/s144/Masukkan%20URL%20Blogspot%20ke%20FeedBunner.png"
var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<img src="'+myimages[ry]+'" border=0>')
}
random_imglink()
//]]>
</script>
Credit : JavaScript Kit
Alhamdulillah
0 comments:
Posting Komentar