ဒီေန႔တင္တဲ့ ပုိ႔(စ္)ေလးကေတာ့ ဘေလာ့မွာ ျမန္မာျပကၡဒိန္ရက္စြဲ ထည့္လုိ႔ရ တဲ့ Cond ေလးကုိ မသိေသးတဲ့ မိတ္ေဆြေတြအတြက္ ေ၀မွ်ေပးလုိက္တာပါ။ က်ေနာ္ ေရးတဲ့ Cond ေတာ့မဟုတ္ပါဘူး။ နည္းနည္းေလး Modified  ၿပီးတင္ေပးလုိက္တာပါ။ ႀကဳိက္ၾကမယ္လုိ႔လည္းေမွ်ာ္လင့္ပါတယ္။ ၿပီးေတာ့ Google မွာလည္း Sign In လုိ႔ ေပးႀကပါလုိ႔ ေမတၱာရပ္ခံပါတယ္။

၁။Sign In Blogger

၂။ Layout

၃။ Add a Gadget

၄။ HTML/JavaScript

၅။ ေအာက္က ေပးထာတဲ့ Cond ေလးကုိထည့္ေပးလုိက္ပါ။

<script type="text/javascript" src="http://mrthangming.googlecode.com/files/myanmar_calendar.js"></script>

<script type='text/javascript'>

var mydate=new Date()

var year=mydate.getYear()

if (year < 1000)

year+=1900

var day=mydate.getDay()

var month=mydate.getMonth()

var daym=mydate.getDate()

if (daym<10)

daym="0"+daym

var dayarray=new Array("တနဂၤေႏြ","တနလၤာ","အဂၤါ","ဗုဒၶဟူး","ၾကာသပေတး","ေသာၾကာ","စေန")

var montharray=new Array("ဇန္နဝါရီ","ေဖေဖၚဝါရီ","မတ္","ဧျပီ","ေမ","ဇြန္","ဇြန္လိုင္","ၾသဂုတ္","စက္တင္ဘာ","ေအာက္တိုဘာ","ႏိုဝင္ဘာ","ဒီဇင္ဘာ")

document.write("<p>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"</p>")

</script>

ထည့္ၿပီးရင္ Save ကုိနုိပ္လုိက္ပါ။ ၿပီးပါၿပီး>>>အဆင္ေျပၾကပါေစ။
17 Oct 2012

Post a Comment Blogger

အခုစာဖတ္သူၾကည့္ေနတဲ့ ပုိ့(စ္) ေလးမွာ ဘယ္လုိထင္ျမင္ခ်က္ရွိလဲ? စာဖတ္သူရဲ့ထင္ျမင္ခ်က္ကုိ ဤေနရာေလးမွာ ေရးခ်ၾကည့္ပါလား။..~!!!

Emoticon
:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Top