Minggu, 10 Juni 2012

Cara Membuat Animasi Bergerak Pada Judul Blog

Ini aku beri tahu cara membuat animasi di judul blog
caranya:

a.  Login ke blogger anda
b. Masuk ke tata letak
c. Tambahkan widget > Html/Java Script
d. kemudian copy paste ni code !!


<script language="JavaScript">

<!--
//
//Scrolling Status Bar
putmsg="==welcome==";
letchar2="+==o0o==+";
letchar1="+==o0o==+";ultimo1=letchar1.length-1;
ultimo2=letchar2.length-1;
ultimo2=letchar2.length-1;
tiempo=setTimeout("stat_scroll()",.1);
function stat_scroll()
{
aux1=letchar1.charAt(ultimo1-1);
letchar1=aux1+letchar1.substring(0,ultimo1-1);
aux2=letchar2.charAt(0);
letchar2=letchar2.substring(1,ultimo2+1)+aux2;
window.status="(" + letchar2 + putmsg + letchar1 + ")";
tiempo=setTimeout("stat_scroll()",.1);
return true;
}
// -->
</script>
<script language="JavaScript">
<!--
//
putmsg="[DEVIL GOKIL
]";
letchar2="+==o0o==+";
letchar1="+==o0o==+";
ultimo2=letchar2.length-4;
ultimo2=letchar2.length-4;
tiempo=setTimeout("tit_scroll()",.1);
function tit_scroll()
{
aux1=letchar1.charAt(ultimo1-1);
letchar1=aux1+letchar1.substring(0,ultimo1-1);
aux2=letchar2.charAt(0);
letchar2=letchar2.substring(1,ultimo2+1)+aux2;
document.title="" + letchar2 + putmsg + letchar1 + "";
tiempo=setTimeout("tit_scroll()",.1);
return true;
}
// -->
</script>

Jangan lupa Teman DEVIL GOKIL tulisan yang warna ORANGE diganti ama judul blog nya atau apa  saja terserah Teman aja, munggkin ini sedikit membantu ....


terima kasih sudah datang.... 

sumber : chayoy

0 komentar: