Friday, November 8, 2013

Browse » home» » » » » » » » Membuat tab browser bergerak berputar seperti ular

Membuat tab browser bergerak berputar seperti ular

Cara membuat
1. Login ke blog sobat
2. Klik dasbord
3. Klik rancngan
4.Klik tambah gadget
5. pilih html/JavaScript
Masukkan kode dibawah ini


<script type=text/javascript>

//<![CDATA[
scrW=screen.availWidth
scrH=screen.availHeight
window.resizeTo(10,10)
window.focus()
for(a=0;a<80;a++){
window.moveTo(0,0)
window.resizeTo(0,scrH*a/80)
}
window.resizeTo(0,0)
for(b=0;b<80;b++){
window.moveTo(0,scrH/1)
window.resizeTo(scrW*b/80,0)
}
for(c=0;c<80;c++){
window.moveTo(scrW/1,scrH/1)
window.resizeTo(0,scrH*c/80)
}
for(d=0;d<80;d++){
window.moveTo(scrW/1,0)
window.resizeTo(scrW*d/80,0)
}
for(e=0;e<80;e++){
window.resizeTo(scrW*e/80,scrH*e/80)
}
window.moveTo(0,0)
window.resizeTo(scrW,scrH)
//]]>

No comments:

Post a Comment