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

0
9:22
 
 မိမိတို႕ ဘေလာ့မွာ 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/AVvXsEh1aKk5I7ZWkKdgx-uklr0_eFJAmhdJCSI0x1pCnHK8s8E41H0HP8hpe4WjA9fRffGqoDLfo89NYMCNlSPNxeysTAMSY21ME74NkJ09brxNLA2MAMoldzjh8OnIh2wZQzHHeip4AbjD-cg/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/AVvXsEjDh_wPPZ-2z_bbsbHGz0Zeg28G7_7a-8x_qzhUVgoU9ikkXbIIPEAvHVi24yAw79KmXaEiIf75PdR0mDnSsBXx7G2_boqkTEE2nZKU9ImhKRYO9LtPzcRK5F6gz2t2W3uPgU0QO_yf1J4/s1600/prev.png", -40, 36], rightnav: ["https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMDu-2bQwDhzQsZuv_Na-xoB2zMLk_ux8kMXLAAXLwT5EvKoYW2-T3JZ89ek_iMnjmbqds0ezUQfM5Qd8dOdUfbS3YIbHny6-U9ov3DO3pAZyheIjgIs4I57SoP3YOA3n86PgTZFDXkQc/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/AVvXsEgaPxVh6nZ_s0E-UA1WJeL2sXEEQ5e4zlOirCna4Jf5wJ0NkA1saaOMWjXjtevixd9Stjwq9bwHRLLcI3fgIa3IOFuEqplpJMsY-8FvKEPHGegrbDpqeoBI1vtl0XwRDPu6qJ9sPYG7mD8/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 
တို႕မွာ လည္ပါတ္နိဳင္ပါတယ္.....ေနာ္

About the author

နည္းပညာမ်ား ကို က် ေနာ္သိသေလာက္ ျပန္လည္ မ်ွေဝသြားပါမည္. Admin >> အိုင္တီရဲ ကို.

0 comments: