Wednesday, 14 August 2013

ဘေလာ့မွာ လွပတဲ့ Most Popular Post Slider/Image Gallery V2 ေလးေနာ္

 
 မိမိတို႕ ဘေလာ့မွာ Porpulat Post  လွလွေလးေတြ လုပ္ၾကမယ္ေနာ္...အေပၚက စတိုင္ေလးနဲ႕ေပါ့ အရမ္းးလန္းတယ္... စမ္းလိုက္ေနာ္  ေအာက္မွာ နည္းလမ္းတိုင္းေလ့လာ  ျပီးလုပ္လိုက္ပါ....
►1-  Blogger Singin ၀င္လိုက္ပါ။
►2-  Dashboard  ကိုသြားလိုက္ပါ။
►3-  Template    ကိုကလစ္ပါ..။
►4-  Edit  Html   ကို၀င္ပါ..
►5- Ctrl+F  (သို႕မဟုတ္) F3  အကူညီျဖင့္ ေပးထားတဲ့ ကုဒ္ကို ရွာလိုက္ပါ။

</head>  သည္ကုဒ္ကိုရွာလိုက္ပါ  ေတြ႕တာနဲ႕  သူ႕အေပၚကေန ကပ္လွ်က္  ေအာက္ကေပးထားေသာကုဒ္ေတြကို ထည့္ေပးလိုက္ပါ...

<style type="text/css">
#gallery{position:relative;margin:0 35px 20px;width:500px;height:126px;background:#ffffff}
#gallery .belt{position:absolute;top:0;left:0;list-style-type:none}
#gallery .panel{float:left;margin:20px;width:84px;height:86px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxAcEh4A4FS5fEWFne3KpYua8JTtv37ehQYt8mxQ7NoM7TtSU51KnJVMtL2W4nvyz0ZAo_QKf6H-dufPWTvXyWausKTAq75MQx0jIGcfI_8OsTLX0-bYl3DPArzGDn3Cr0dHP52u0mxT8/s1600/bg-slider.png) bottom center no-repeat;overflow:hidden}
#gallery .panel img{float:left;border:1px solid #DDD;margin:5px;width:72px;height:72px;background:#FFF;padding:0px}
#gallery .panel img:hover{filter:alpha(opacity=50);-moz-opacity:0.5;-khtml-opacity:0.5;opacity:0.5}
</style>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'/>
<script src='http://latest-hacks.googlecode.com/svn/gadgets/popularposts/popular-posts.js' type='text/javascript'/>
<script type='text/javascript'>
//<![CDATA[
stepcarousel.setup({
galleryid: "gallery",
beltclass: "belt",
panelclass: "panel",
autostep: {enable:true, moveby:1, pause:3000},
panelbehavior: {speed:500, wraparound:true, persist:true},
defaultbuttons: {enable: true, moveby: 2, leftnav: ["https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYSUahno3EF2DZAtxMyLQ3r1nnbRQ8s93L2mPpPvDlCswJL5bfRIOxJkmHdC02nP2sWtd1Us-YSxQdwuuUOcrnd32ZqYspAQS3E5rOlzQq1NKiCinSXdfNQYdAABp8x1pDJBB5581WuD8/s1600/prev.png", -40, 36], rightnav: ["https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDV47kOcDsm5QyaoirhfFpVG0eZFMnakhyphenhyphenE2T65LkH9Xw-A71onmdcoyUykVGU0IRuCWK0TBmPMGoTAnsjlaaDRzhpVC1tZcJZXXT4c1_ZmlmAslGrmcg-Sl6YnAZDcKN4IbeYMWFyEMA/s1600/next.png", 2, 36]},
contenttype: ["external"]
})
//]]>
</script>

  • ေနာက္ထပ္  ေအာက္ကကုဒ္ကို  ထပ္ရွာလိုက္ပါအုံးးေနာ္...
<b:section class='sidebar' id='sidebar' preferred='yes'>
  • ေတြ႕ျပီဆိုတာနဲ႕  သူ႕ေအာက္ကေန ကပ္လွ်က္   ေပးထားေသာေအာက္ကကုဒ္ေတြကို ထည့္ေပးလိုက္ပါ....
<b:widget id='PopularPosts7' locked='false' title='Popular Posts' type='PopularPosts'>
<b:includable id='main'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<div style='margin-top:20px;margin-bottom:70px;margin-left:-20px;'>
  <div id='gallery'>
   <ul class='belt'>
    <b:loop values='data:posts' var='post'>
     <li class='panel'>
      <b:if cond='data:showThumbnails == &quot;false&quot;'>
       <b:if cond='data:showSnippets == &quot;false&quot;'>
        <a expr:href='data:post.href' expr:title='data:post.title' rel='bookmark'><data:post.title/></a>
       <b:else/>
        <div class='item-title'>
         <a expr:href='data:post.href' expr:title='data:post.title' rel='bookmark'><data:post.title/></a>
        </div>
        <div class='item-snippet'>
         <data:post.snippet/>
        </div>
       </b:if>
      <b:else/>
       <a expr:href='data:post.href' expr:title='data:post.title' rel='bookmark'>
        <b:if cond='data:post.thumbnail'>
         <img expr:alt='data:post.title' expr:src='data:post.thumbnail'/>
        <b:else/>
         <img alt='no image' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp1HczHVCiPW2YbqvVrgfBp0CZnqGljdEdqlhEd5vBB8X0qW1o8yXQQdgGWvhlfFCKHMlU8fligMPtRzQpqFKyuWDx5qTEti6O3FZM4iwjPEmacDuV2cpFAiC5VJiX3FAaFFiqozFldtA/s1600/defaultimage.jpg'/>
        </b:if>
       </a>
      </b:if>
     </li>
    </b:loop>
   </ul>
  </div></div></b:if>
 </b:includable>
</b:widget>

  • Now save your template
thanks: http://www.snacktools.com

ခုလိုအားေပးတဲ့အတြက္ အထူးေက်းဇဴးတင္ပါတယ္... လိုအပ္တာမ်ားရွိပါက.. C-Box မွာေျပာခဲ့ၾကနိဳင္ပါတယ္... အတတ္နိဳင္ဆုံး ၾကိဳးစား ကူညီ မွ်ေ၀သြားပါမည္... 
ဘေလာ့ခရီးသည္ 
www.ledimye.blogspot.com 
www.aungsanmks.com 
www.ninilayy.com 
တို႕မွာ လည္ပါတ္နိဳင္ပါတယ္.....ေနာ္

0 comments:

Post a Comment