tutorial title blog kelip-kelip : version 1
hello mello peeps :) dirah nak buat tutorial nie . kali nie untuk buat title blog kelip-kelip . means , title tu bergerak lah . title blog nie yang dekat atas tuh taw . yang title dekat tab tuh . #sorry tak dapat nak print screen . angah pegi delete -,-
nak try ? meyh dirah ajar yee :)
1. dashboard
design
page element
add gadget
Html/java script
2. copy & paste code dekat add gadget .
<script type="text/javascript">
//Created by Title bar Maker (http://www.bosiljak.hr/titlemaker)
function tb3_makeArray(n){
this.length = n;
return this.length;
}
tb3_messages = new tb3_makeArray(1);
tb3_messages[0] = "title blog korang";
tb3_rptType = 'infinite';
tb3_rptNbr = 5;
tb3_speed = 500;
tb3_nbrOneMsg = 5;
var tb3_currMsg=0;
var tb3_timerID = null;
var tb3_switcher = 0;
var tb3_countOneMsg=0;
var tb3_counter=1;
function tb3_blinktitle(){
if (tb3_countOneMsg == tb3_nbrOneMsg){
if (tb3_currMsg == tb3_messages.length-1){
if ((tb3_rptType == 'finite') && (tb3_counter==tb3_rptNbr)){
clearTimeout(tb3_timerID);
return;
}
tb3_counter++;
tb3_currMsg=0;
tb3_countOneMsg=0;
}
else{
tb3_currMsg++;
tb3_countOneMsg=0;
}
}
if (tb3_switcher==0){
document.title = tb3_messages[tb3_currMsg];
tb3_switcher=1; tb3_countOneMsg++;
}
else{
document.title = "______________________________________________________________";
tb3_switcher=0;
}
tb3_timerID = setTimeout("tb3_blinktitle()", tb3_speed)
}
tb3_blinktitle();
</script>
3. done ! save & view blog korang .
something wrong ? tell me in my cute taike II cbox ?
Labels: tuto
tutorial title blog kelip-kelip : version 1
hello mello peeps :) dirah nak buat tutorial nie . kali nie untuk buat title blog kelip-kelip . means , title tu bergerak lah . title blog nie yang dekat atas tuh taw . yang title dekat tab tuh . #sorry tak dapat nak print screen . angah pegi delete -,-
nak try ? meyh dirah ajar yee :)
1. dashboard design page element add gadget Html/java script
2. copy & paste code dekat add gadget .
<script type="text/javascript"> //Created by Title bar Maker (http://www.bosiljak.hr/titlemaker) function tb3_makeArray(n){ this.length = n; return this.length; } tb3_messages = new tb3_makeArray(1); tb3_messages[0] = "title blog korang"; tb3_rptType = 'infinite'; tb3_rptNbr = 5; tb3_speed = 500; tb3_nbrOneMsg = 5; var tb3_currMsg=0; var tb3_timerID = null; var tb3_switcher = 0; var tb3_countOneMsg=0; var tb3_counter=1; function tb3_blinktitle(){ if (tb3_countOneMsg == tb3_nbrOneMsg){ if (tb3_currMsg == tb3_messages.length-1){ if ((tb3_rptType == 'finite') && (tb3_counter==tb3_rptNbr)){ clearTimeout(tb3_timerID); return; } tb3_counter++; tb3_currMsg=0; tb3_countOneMsg=0; } else{ tb3_currMsg++; tb3_countOneMsg=0; } } if (tb3_switcher==0){ document.title = tb3_messages[tb3_currMsg]; tb3_switcher=1; tb3_countOneMsg++; } else{ document.title = "______________________________________________________________"; tb3_switcher=0; } tb3_timerID = setTimeout("tb3_blinktitle()", tb3_speed) } tb3_blinktitle(); </script>
3. done ! save & view blog korang .
something wrong ? tell me in my cute taike II cbox ?
Labels: tuto
|