Title Bar မွာ စာတန္းေလးေတြ ေျပးေနေအာင္လုပ္တဲ႕ ကုတ္ေလးပါ..
ကြ်န္ေတာ္အရင္ကလည္း တစ္ခုတင္ထားပါတယ္...မတူတာတစ္ခုကေတာ႕
ဒီကုတ္ေလးက Title Bar မွာ စာတန္းသံုးမ်ဳိးနဲ႕ တစ္မ်ဳိးျပီး တစ္မ်ဳိးေျပာင္းေနမွာပါ။
ကြ်န္ေတာ္ ဒီကုတ္ေလးကို ကူးယူးထားတာလည္း ႀကာျပီဆိုေတာ႕
ကြ်န္ေတာ္အရင္ကလည္း တစ္ခုတင္ထားပါတယ္...မတူတာတစ္ခုကေတာ႕
ဒီကုတ္ေလးက Title Bar မွာ စာတန္းသံုးမ်ဳိးနဲ႕ တစ္မ်ဳိးျပီး တစ္မ်ဳိးေျပာင္းေနမွာပါ။
ကြ်န္ေတာ္ ဒီကုတ္ေလးကို ကူးယူးထားတာလည္း ႀကာျပီဆိုေတာ႕
မူရင္း ပို႕စ္ဆိုဒ္လိပ္စာကို မမွတ္မိေတာ႕လို႕ မေဖာ္ျပႏုိင္တာကို နားလည္ေပးေစခ်င္ပါတယ္..
ျပန္လည္မွ်ေဝေပးျခင္းသပ္သပ္သာ ၿဖစ္ပါသည္။ ကြ်န္ေတာ္ကိုယ္တိုင္ ဘာမွမတတ္ပါ..
ကုတ္ေလးေတြကို ေအာက္မွာေပးထားပါတယ္...
Welcome to my blog
thurainlin89.blogspot.com
Thank for your visiting ဆိုတဲ႕ စာတန္းေနရာမွာ ကိုယ္ေရးခ်င္တာေရးႏိုင္ပါတယ္..
<script language="JavaScript">
function tb5_makeArray(n){
this.length = n;
return this.length;
}
tb5_messages = new tb5_makeArray(3);
tb5_messages[0] = "..:[ Welcome to my blog ]:..";
tb5_messages[1] = "..:[ -= thurainlin89.blogspot.com =- ]:..";
tb5_messages[2] = "..:[ Thank for your visiting ]:..";
tb5_rptType = 'infinite';
tb5_rptNbr = 20;
tb5_speed = 1;
tb5_delay = 2000;
var tb5_counter=2;
var tb5_currMsg=0;
var tb5_stsmsg="";
function tb5_shuffle(arr){
var k;
for (i=0; i<arr.length; i++){
k = Math.round(Math.random() * (arr.length - i - 1)) + i;
temp = arr[i];arr[i]=arr[k];arr[k]=temp;
}
return arr;
}
tb5_arr = new tb5_makeArray(tb5_messages[tb5_currMsg].length);
tb5_sts = new tb5_makeArray(tb5_messages[tb5_currMsg].length);
for (var i=0; i<tb5_messages[tb5_currMsg].length; i++){
tb5_arr[i] = i;
tb5_sts[i] = "_";
}
tb5_arr = tb5_shuffle(tb5_arr);
function tb5_init(n){
var k;
if (n == tb5_arr.length){
if (tb5_currMsg == tb5_messages.length-1){
if ((tb5_rptType == 'finite') && (tb5_counter==tb5_rptNbr)){
clearTimeout(tb5_timerID);
return;
}
tb5_counter++;
tb5_currMsg=0;
}
else{
tb5_currMsg++;
}
n=0;
tb5_arr = new tb5_makeArray(tb5_messages[tb5_currMsg].length);
tb5_sts = new tb5_makeArray(tb5_messages[tb5_currMsg].length);
for (var i=0; i<tb5_messages[tb5_currMsg].length; i++){
tb5_arr[i] = i;
tb5_sts[i] = "_";
}
tb5_arr = tb5_shuffle(tb5_arr);
tb5_sp=tb5_delay;
}
else{
tb5_sp=tb5_speed;
k = tb5_arr[n];
tb5_sts[k] = tb5_messages[tb5_currMsg].charAt(k);
tb5_stsmsg = "";
for (var i=0; i<tb5_sts.length; i++)
tb5_stsmsg += tb5_sts[i];
document.title = tb5_stsmsg;
n++;
}
tb5_timerID = setTimeout("tb5_init("+n+")", tb5_sp);
}
function tb5_randomizetitle(){
tb5_init(0);
}
tb5_randomizetitle();</script>
ကုတ္ေလးေတြကို
၁။ Layout.
၂။ Page Elements.
၃။ Add a Gadget.
၄။ HTML / Javascript. မွာထည္႕ျပီး Save လုပ္လုိက္ပါ..
အဆင္ေျပပါေစ..ေက်းဇူးတင္ပါတယ္....
No comments:
Post a Comment