K-Infonews
Senin, 12 Maret 2012
Membuat Browser Berputar-Putar
Langsung Aja deh!!
1.Login Blog
2.Klik Rancangan
3.Pilih tata letak
4.Tambah Gadget
5.Pilih HTML/Javascript
<script type='text/javascript'><br /> <br /> //<![CDATA[<br /> <br /> scrW=screen.availWidth<br /> <br /> scrH=screen.availHeight<br /> <br /> window.resizeTo(10,10)<br /> <br /> window.focus()<br /> <br /> for(a=0;a<80;a++){<br /> <br /> window.moveTo(0,0)<br /> <br /> window.resizeTo(0,scrH*a/80)<br /> <br /> }<br /> <br /> window.resizeTo(0,0)<br /> <br /> for(b=0;b<80;b++){<br /> <br /> window.moveTo(0,scrH/1)<br /> <br /> window.resizeTo(scrW*b/80,0)<br /> <br /> }<br /> <br /> for(c=0;c<80;c++){<br /> <br /> window.moveTo(scrW/1,scrH/1)<br /> <br /> window.resizeTo(0,scrH*c/80)<br /> <br /> }<br /> <br /> for(d=0;d<80;d++){<br /> <br /> window.moveTo(scrW/1,0)<br /> <br /> window.resizeTo(scrW*d/80,0)<br /> <br /> }<br /> <br /> for(e=0;e<80;e++){<br /> <br /> window.resizeTo(scrW*e/80,scrH*e/80)<br /> <br /> }<br /> <br /> window.moveTo(0,0)<br /> <br /> window.resizeTo(scrW,scrH)<br /> <br /> //]]><br /> </script><br /> <br /> <!-- Script Codes by Www.kikiyo.co.cc --><br /> <script><br /> window.scrollBy(0, 1)<br /> window.resizeTo(0,0)<br /> window.moveTo(0,0)<br /> //setInterval("move()",30);<br /> setTimeout("move()", 1);<br /> var mxm=50<br /> var mym=25<br /> var mx=0<br /> var my=0<br /> var sv=50<br /> var status=1<br /> var szx=0<br /> var szy=0<br /> var c=255<br /> var n=0<br /> var sm=30<br /> var cycle=2<br /> var done=2<br /> function move()<br /> {<br /> if (status == 1)<br /> {<br /> mxm=mxm/1.05<br /> mym=mym/1.05<br /> mx=mx+mxm<br /> my=my-mym<br /> mxm=mxm+(400-mx)/100<br /> mym=mym-(300-my)/100<br /> window.moveTo(mx,my)<br /> rmxm=Math.round(mxm/10)<br /> rmym=Math.round(mym/10)<br /> if (rmxm == 0)<br /> {<br /> if (rmym == 0)<br /> {<br /> status=2<br /> }<br /> }<br /> }<br /> if (status == 2)<br /> {<br /> sv=sv/1.1<br /> scrratio=1+1/3<br /> mx=mx-sv*scrratio/2<br /> my=my-sv/2<br /> szx=szx+sv*scrratio<br /> szy=szy+sv<br /> window.moveTo(mx,my)<br /> window.resizeTo(szx,szy)<br /> if (sv < 0.1)<br /> {<br /> status=3<br /> }<br /> }<br /> if (status == 3)<br /> {<br /> document.fgColor=0xffffFF<br /> c=c-16<br /> if (c<0)<br /> {status=8}<br /> }<br /> if (status == 4)<br /> {<br /> c=c+16<br /> document.bgColor=c*65536<br /> document.fgColor=(255-c)*65536<br /> if (c > 239)<br /> {status=5}<br /> }<br /> if (status == 5)<br /> {<br /> c=c-16<br /> document.bgColor=c*65536<br /> document.fgColor=(255-c)*65536<br /> if (c < 0)<br /> {<br /> status=6<br /> cycle=cycle-1<br /> if (cycle > 0)<br /> {<br /> if (done == 1)<br /> {status=7}<br /> else<br /> {status=4}<br /> }<br /> }<br /> }<br /> if (status == 6)<br /> {<br /> document.title = "Cljck"<br /> alert("Cljck")<br /> cycle=2<br /> status=4<br /> done=1<br /> }<br /> if (status == 7)<br /> {<br /> c=c+4<br /> document.bgColor=c*65536<br /> document.fgColor=(255-c)*65536<br /> if (c > 128)<br /> {status=8}<br /> }<br /> if (status == 8)<br /> {<br /> window.moveTo(0,0)<br /> sx=screen.availWidth<br /> sy=screen.availHeight<br /> window.resizeTo(sx,sy)<br /> status=9<br /> }<br /> var timer=setTimeout("move()",0.3)<br /> }<br /> </script><br /> <br /> <!-- Script Codes by Www.kikiyo.co.cc --><br /> <script><br /> window.scrollBy(0, 1)<br /> window.resizeTo(0,0)<br /> window.moveTo(0,0)<br /> //setInterval("move()",30);<br /> setTimeout("move()", 1);<br /> var mxm=50<br /> var mym=25<br /> var mx=0<br /> var my=0<br /> var sv=50<br /> var status=1<br /> var szx=0<br /> var szy=0<br /> var c=255<br /> var n=0<br /> var sm=30<br /> var cycle=2<br /> var done=2<br /> function move()<br /> {<br /> if (status == 1)<br /> {<br /> mxm=mxm/1.05<br /> mym=mym/1.05<br /> mx=mx+mxm<br /> my=my-mym<br /> mxm=mxm+(400-mx)/100<br /> mym=mym-(300-my)/100<br /> window.moveTo(mx,my)<br /> rmxm=Math.round(mxm/10)<br /> rmym=Math.round(mym/10)<br /> if (rmxm == 0)<br /> {<br /> if (rmym == 0)<br /> {<br /> status=2<br /> }<br /> }<br /> }<br /> if (status == 2)<br /> {<br /> sv=sv/1.1<br /> scrratio=1+1/3<br /> mx=mx-sv*scrratio/2<br /> my=my-sv/2<br /> szx=szx+sv*scrratio<br /> szy=szy+sv<br /> window.moveTo(mx,my)<br /> window.resizeTo(szx,szy)<br /> if (sv < 0.1)<br /> {<br /> status=3<br /> }<br /> }<br /> if (status == 3)<br /> {<br /> document.fgColor=0xffffFF<br /> c=c-16<br /> if (c<0)<br /> {status=8}<br /> }<br /> if (status == 4)<br /> {<br /> c=c+16<br /> document.bgColor=c*65536<br /> document.fgColor=(255-c)*65536<br /> if (c > 239)<br /> {status=5}<br /> }<br /> if (status == 5)<br /> {<br /> c=c-16<br /> document.bgColor=c*65536<br /> document.fgColor=(255-c)*65536<br /> if (c < 0)<br /> {<br /> status=6<br /> cycle=cycle-1<br /> if (cycle > 0)<br /> {<br /> if (done == 1)<br /> {status=7}<br /> else<br /> {status=4}<br /> }<br /> }<br /> }<br /> if (status == 6)<br /> {<br /> document.title = "Cljck"<br /> alert("Cljck")<br /> cycle=2<br /> status=4<br /> done=1<br /> }<br /> if (status == 7)<br /> {<br /> c=c+4<br /> document.bgColor=c*65536<br /> document.fgColor=(255-c)*65536<br /> if (c > 128)<br /> {status=8}<br /> }<br /> if (status == 8)<br /> {<br /> window.moveTo(0,0)<br /> sx=screen.availWidth<br /> sy=screen.availHeight<br /> window.resizeTo(sx,sy)<br /> status=9<br /> }<br /> var timer=setTimeout("move()",0.3)<br /> }<br /> </script>
Copy kode diatas kemudian
SAVE
dan lihat hasilnya. . .
Goodluck
Tidak ada komentar:
Posting Komentar
‹
›
Beranda
Lihat versi web
Tidak ada komentar:
Posting Komentar