Blog ရဲ့ Tital Bar ေလးေျပးေနေအာင္လုပ္ခ်င္ရင္
1/ Design
2/Add a Gadget
3/ Html Javascripts
မွာေအာက္က Code ေတြကိုကူးထည့္ပါ။
<script type="text/javascript">
var rev = "fwd";
function titlebar(val)
{
var msg = " းးးးး ကိုထြန္းလင္း(တာပြန္)မွလိႈက္လဲစြာႀကိဳဆိုပါတယ္ းးးးး";
var res = " ";
var speed = 100;
var pos = val;
msg = " ~~~~~ "+msg+" ~~~~~";
var le = msg.length;
if(rev == "fwd"){
if(pos < le){
pos = pos+1;
scroll = msg.substr(0,pos);
document.title = scroll;
timer = window.setTimeout("titlebar("+pos+")",speed);
}
else{
rev = "bwd";
timer = window.setTimeout("titlebar("+pos+")",speed);
}
}
else{
if(pos > 0){
pos = pos-1;
var ale = le-pos;
scrol = msg.substr(ale,le);
document.title = scrol;
timer = window.setTimeout("titlebar("+pos+")",speed);
}
else{
rev = "fwd";
timer = window.setTimeout("titlebar("+pos+")",speed);
}
}
}
titlebar(0);
</script>
<script type="text/javascript">
var rev = "fwd";
function titlebar(val)
{
var msg = " းးးးး ကိုထြန္းလင္း(တာပြန္)မွလိႈက္လဲစြာႀကိဳဆိုပါတယ္ းးးးး";
var res = " ";
var speed = 100;
var pos = val;
msg = " ~~~~~ "+msg+" ~~~~~";
var le = msg.length;
if(rev == "fwd"){
if(pos < le){
pos = pos+1;
scroll = msg.substr(0,pos);
document.title = scroll;
timer = window.setTimeout("titlebar("+pos+")",speed);
}
else{
rev = "bwd";
timer = window.setTimeout("titlebar("+pos+")",speed);
}
}
else{
if(pos > 0){
pos = pos-1;
var ale = le-pos;
scrol = msg.substr(ale,le);
document.title = scrol;
timer = window.setTimeout("titlebar("+pos+")",speed);
}
else{
rev = "fwd";
timer = window.setTimeout("titlebar("+pos+")",speed);
}
}
}
titlebar(0);
</script>
ကိုထြန္းလင္း(တာပြန္)မွေႏြးေထြးစြာႀကိဳဆိုပါတယ္ခင္ဗ်ာ Facebook ရဲ႕ Like button ကိုႏွိပ္ျခင္းျဖင္႕ မိမိရဲ႕ Facebook ေပၚမွာ ဒီ Post ေလးေရာက္သြားမွာပါ။
ဒီ Post ေလးကိုသေဘာက်တယ္ဆိုရင္လည္း Like Button ေလးကိုႏွိပ္ခဲ႕ေပးပါေနာ္။
No comments:
Post a Comment