Berbagi Sejarah Dunia - Pada kesempatan kali ini ane akan membahas cara bagaimana cara membuat
tulisan pada taskbar bergerak. Selain membuat tulisannya bergerak,
script ini juga akan membuat tulisan berganti-ganti.. Ok kita langsung
saja ke TKP:
1. Login dahulu tentunya di blogger.com,
2. Klik tata letak, lalu edit HTML
3. Masukkan script dibawah ini
<script>
function tb8_makeArray(n){
this.length = n;
return this.length;
}
tb8_messages = new tb8_makeArray(3);
tb8_messages[0] = "Welcome...";
tb8_messages[1] = "...To...";
tb8_messages[2] = "obypunyabuku.blogspot.com...";
tb8_rptType = 'infinite';
tb8_rptNbr = 5;
tb8_speed = 125;
tb8_delay = 1000;
var tb8_counter=1;
var tb8_currMsg=0;
var tb8_tekst ="";
var tb8_i=0;
var tb8_TID = null;
function tb8_pisi(){
tb8_tekst = tb8_tekst + tb8_messages[tb8_currMsg].substring(tb8_i, tb8_i+1);
document.title = tb8_tekst;
tb8_sp=tb8_speed;
tb8_i++;
if (tb8_i==tb8_messages[tb8_currMsg].length){
tb8_currMsg++; tb8_i=0; tb8_tekst="";tb8_sp=tb8_delay;
}
if (tb8_currMsg == tb8_messages.length){
if ((tb8_rptType == 'finite') && (tb8_counter==tb8_rptNbr)){
clearTimeout(tb8_TID);
return;
}
tb8_counter++;
tb8_currMsg = 0;
}
tb8_TID = setTimeout("tb8_pisi()", tb8_sp);
}
tb8_pisi()
</script>
4. Ganti tulisan berwarna hitam dan tebal dengan pesan yang sobat inginkan.
5. Jangan lupa di save. Lihat hasilnya sendiri…. Pasti menarik.
1. Login dahulu tentunya di blogger.com,
2. Klik tata letak, lalu edit HTML
3. Masukkan script dibawah ini
<script>
function tb8_makeArray(n){
this.length = n;
return this.length;
}
tb8_messages = new tb8_makeArray(3);
tb8_messages[0] = "Welcome...";
tb8_messages[1] = "...To...";
tb8_messages[2] = "obypunyabuku.blogspot.com...";
tb8_rptType = 'infinite';
tb8_rptNbr = 5;
tb8_speed = 125;
tb8_delay = 1000;
var tb8_counter=1;
var tb8_currMsg=0;
var tb8_tekst ="";
var tb8_i=0;
var tb8_TID = null;
function tb8_pisi(){
tb8_tekst = tb8_tekst + tb8_messages[tb8_currMsg].substring(tb8_i, tb8_i+1);
document.title = tb8_tekst;
tb8_sp=tb8_speed;
tb8_i++;
if (tb8_i==tb8_messages[tb8_currMsg].length){
tb8_currMsg++; tb8_i=0; tb8_tekst="";tb8_sp=tb8_delay;
}
if (tb8_currMsg == tb8_messages.length){
if ((tb8_rptType == 'finite') && (tb8_counter==tb8_rptNbr)){
clearTimeout(tb8_TID);
return;
}
tb8_counter++;
tb8_currMsg = 0;
}
tb8_TID = setTimeout("tb8_pisi()", tb8_sp);
}
tb8_pisi()
</script>
4. Ganti tulisan berwarna hitam dan tebal dengan pesan yang sobat inginkan.
5. Jangan lupa di save. Lihat hasilnya sendiri…. Pasti menarik.
Semoga bermanfaat...
0 komentar:
Posting Komentar
Komentar Sobat sangat berharga buat Ane...
Thankss Sob..