Cara Membuat Animasi Pada Judul Website Untuk CMS Balitbang

Tips yang di posting oleh Pak Ansari Saleh Ahmar, di milis Kajian Web Balitbang.

Pada folder template, Buka file index.tpl.htm dengan notepad. kemudian cari :
<title>…………… </title> setelah <head>

Ganti Menjadi :

:: Selamat Datang di Website Resmi {nmsekolah} | ©2011 {nmweb} ::

var tit = document.title;
var c = 0;
function writetitle() {
document.title = tit.substring(0,c);
if(c==tit.length)
{
c = 0;
setTimeout(“writetitle()”, 2000)
}
else {
c++;
setTimeout(“writetitle()”, 100)
}
}
writetitle()

This entry was posted in Tips. Bookmark the permalink.

One Response to Cara Membuat Animasi Pada Judul Website Untuk CMS Balitbang

  1. wonk says:

    kok ga bisa yah??

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s