Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu
ကြ်န္ေတာ့ဆုိင့္သုိ႕အလည္လာအားေပးၾကေသာမိတ္ေဆြမ်ားကိုအထူးေက်းဇူးတင္လွ်က္ပါ ။ကြ်န္ေတာ္ဖတ္မိသမွ်ေသာ ေလ့လာမိသမွ်ေသာ post ျပန္လည္မွ်ေ၀ေပးေနျခင္းသာျဖစ္ပါသည္ နညး္ပညာေလ့လာေနေသာ ညီအကိုေမာင္ႏွမမ်ား တစ္ေနရာတည္းမွာ လုိခ်င္တာေလးေတြ ရွာဖြယ္နုိင္ေအာင္၇ည္ရြယ္ခ်က္ ဒီဘေလာ့ကို ဖန္းတီးထားရျခင္သာျဖစ္ပါသည္ ဆရာၾကီးတစ္ေယာက္မဟုတ္အတြက္ ေလ့လာေနဆဲ့ သူတစ္ေယာက္မုိ အမွားနဲ႕ မကင္းဘူးဆုိတာ နားလည္သေဘာေပါက္မိပါတယ္ ဒါေၾကာင္ အမွားရွိရင္လလညး္နားလည္ခြင့္လြတ္ေပးၾကပါ(ဘေလာ့ကာအားလုံးကို အစဥ္ေလးစားလွ်က္ ဆက္လက္ၾကိဳးစားပါအုံးမယ္)

ၾကိဳက္တဲ့ဘာသာေျပာင္းဖတ္နို္င္ပါတယ္

မန္ဘာ၀င္ျပီအားေပးခဲ့ပါအုံးေနာ့

Monday, April 27, 2015

Simple Recent Posts Widget ေလးထည့္ၾကမယ္

ေအာက္ကေခါင္းစဥ္အလိုက္ လုပ္ေဆာင္နိဳင္တာေလးေတြပါ...
  • display post titles only
  • change the number of posts
  • change the number of characters of the post snippet/excerpt
  • show the post dates


ထည့္နည္းေလးကေတာ့  ရွင္းပါတယ္....

1. Log in to your Blogger Dashboard >> go to Design >> Add a Gadget >> choose HTML/JavaScript  မွာ ကုဒ္ေတြ ထည့္ေပးလိုက္ပါ

Option 1: သည္ကုဒ္ကေတာ့ post  snippets ပုံစံနဲ႕႔ပါ...

<div id="hlrpsa">
<script src="http://helplogger.googlecode.com/svn/trunk/recent-posts-with-snippets.js">
</script>
<script>
var numposts = 5;var showpostdate = false;var showpostsummary = true;var numchars = 100;var standardstyling = true;
</script>
<script src="http://your-blog.blogspot.com/feeds/posts/default?orderby=published&amp;alt=json-in-script&amp;callback=showrecentposts">
</script></div>
<div id="rpdr" style="font-family: arial, sans-serif; font-size: 9px;">
<a href="http://helplogger.blogspot.com/2012/04/recent-posts-widget-for-bloggerblogspot.html" target="_blank" title="Grab this Recent Posts Widget">Recent Posts Widget</a> by <a href="http://helplogger.blogspot.com" title="Recent Posts Widget">Helplogger</a></div>
<noscript>Your browser does not support JavaScript!</noscript>
<style type="text/css">
#rpdr {background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5uOWMaDcu5QqAGf_CH8XZ3GW-HP0r0BBT3Tws4DBH-Ug1MgfwR8MQIJ7ZcOVy9v5w3ZDUAnwaOxltSb40HztWBCxQR5sfzaPCevB9vBSV_N62fVeqzUr05T6l7UUU3At4aBOhd0JKsiDN/s1600/blogger.png) 0px 0px no-repeat; padding: 1px 0px 0px 19px; height:14px; margin: 5px 0px 0px 0px;line-height:14px;}
#rpdr, #rpdr a {color:#808080;}
#hlrpsa { border-bottom:1px #cccccc dotted; margin-top:-10px; padding-bottom:10px;}
.hlrps a {font-weight:bold; }
.hlrpssumm {}
</style>

Option 2: သည္ကုဒ္ကေတာ့ Post Titles ေလးသာ ျပတဲ့  ကုဒ္ပါ။

<div id="hlrpsb">
<script style="text/javascript" src="http://helplogger.googlecode.com/svn/trunk/recent-posts-with-titles-only.js"></script>
<script style="text/javascript">var numposts = 10;var showpostdate = false;var showpostsummary = false;var numchars = 100;var standardstyling = true;</script>
<script src="http://your-blog.blogspot.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=showrecentposts"></script></div>
<div style="font-family: arial, sans-serif; font-size: 9px;" id="rpdr"><a href="http://helplogger.blogspot.com/2012/04/recent-posts-widget-for-bloggerblogspot.html" title="Grab this Recent Posts Widget" target="_blank">Recent Posts Widget</a> by <a href="http://helplogger.blogspot.com" title="Recent Posts Widget">Helplogger</a></div><noscript>Oops! Make sure JavaScript is enabled in your browser.</noscript>
<style type=text/css>
#rpdr {background: url( https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5uOWMaDcu5QqAGf_CH8XZ3GW-HP0r0BBT3Tws4DBH-Ug1MgfwR8MQIJ7ZcOVy9v5w3ZDUAnwaOxltSb40HztWBCxQR5sfzaPCevB9vBSV_N62fVeqzUr05T6l7UUU3At4aBOhd0JKsiDN/s1600/blogger.png ) 0px 0px no-repeat; padding: 1px 0px 0px 19px; height:14px; margin: 5px 0px 0px 0px;line-height:14px;}
#rpdr, #rpdr a {color:#808080;}
#hlrpsb { }
.bbrecpost2 {
padding-top:6px;
padding-bottom:6px;
border-bottom: 1px #cccccc dotted; }
</style>

3. ေျပာင္းလဲေပးနိဳင္တာေလးေတြကေတာ့ 5 (option 1) နဲ႕  10 (option 2) တို႕ကို မိမိတို႕ ပို႕အေရအတြက္ လိုသလို ေျပာင္းနိဳင္ပါတယ္.. ေနာက္ထပ္ false to true if you want the posts dates to appear, and change 100 (option 1) if you want more characters to be displayed.
မိမိတို႕ဘေလာ့ခ်ပ္သာ ကို your-blog ေနရာမွာ အစားထိုးေပးပါ။ ဒိုမိန္း အပါ၀င္ေပါ့
ဥပမာ.............။.............
http://www.your-site.com/feeds/posts/default....

4. Saveလိုက္ရင္ ရပါျပီဗ်ာ.... အဆင္ေျပပါေစ
သည္ေနရာ  ကေန အဆင္ေျပသလို ဘာသာျပန္သည္။
ေအာင္ေအာင္(မကစ)
www.ledimyethar.com
www.depelyin.co.cc
 www.aungkyaw.com

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
Related Posts Plugin for WordPress, Blogger...