မဂၤလာပါဗ်ာ.... အားလုံးကို နည္းပညာေလးတစ္ခု လက္ဆင့္ ကမ္းျခင္ပါတယ္.. ဒါေလးကေတာ့.. မိမိတို႕
ဘေလာ့မွာ ကိုယ္ညႊန္ျပျခင္ေသာ ေနရာေလးေတြ ပို႕စ္ေလးေတြအား Slider ေလးနဲ႕ ခပ္လန္းလန္းေလး
လမ္းညႊန္ျပသေပးတဲ့နည္းလမ္းေလးဘဲ ျဖစ္ပါတယ္... သည္လို နည္းလမ္းေလးေတြကို က်ေနာ္ ပုံစံအမ်ိဳးမ်ိဳးနဲ႕ ေရးသား တင္ျပသြားပါ့မယ္... ဒါေလးကေတာ့ အေပၚျပထားတဲ့ ပုံစံ နမူနာေလးအတိုင္းေပါ့
ေအာက္မွာ ထည့္နည္းနဲ႕ လိုအပ္ေသာကုဒ္ေတြ ေပးလိုက္ပါတယ္ေနာ္....
►1. Login လုပ္လုိက္ပါ ဘေလာ့ကာကို
►2. Layout ကိုကလစ္ရပါ့မယ္ မိမိတို႕ Dashboard ကေနေပါ့
►3. Add a Gadget ကိုကလစ္ေပးလုိက္ပါ
►4. HTML/Javascript. ကိုကလစ္ျပီး က်လာတဲ့ ေဘာက္ေလးထဲမွာဘဲ
►5. ေအာက္ကေပးထားတဲ့ ကုဒ္ေတြကို ေကာ္ပီယူ ထည့္လိုက္ပါ
အဲမွာဘဲ ေအာက္က ေပးထားတဲ့ ကုဒ္ေတြကို ထည့္ေပးလိုက္ပါေနာ္.....
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<script src="http://24work.webs.com/24work-blogspot/featured-post/17-content-code/jquery.cycle.all-000-.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
sfHover = function() {
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" hover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" hover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
//]]>
</script>
<script type="text/javascript">
$(document).ready(function(){
$('#myslides').cycle({
fx: 'fade',
speed: 700,
timeout: 3000,
next: '#next',
prev: '#prev'
});
});
</script>
<a href="http://24work.blogspot.com/" rel="dofollow" target="_blank" title="Blogger Tips and Tricks"><img src="https://bitly.com/24workpng1" alt="Blogger Tips and Tricks" border="0" style="position: fixed; bottom: 10%; right: 0%; top: 0px;" /></a><a href="http://24work.blogspot.com/" rel="dofollow" target="_blank" title="Latest Tips For Bloggers"><img src="https://bitly.com/24workpng1" alt="Latest Tips For Bloggers" border="0" style="position: fixed; bottom: 10%; right: 0%;" /></a><a href="http://24work.blogspot.com/" rel="dofollow" target="_blank" title="Blogger Tricks"><img src="https://bitly.com/24workpng1" alt="Blogger Tricks" border="0" style="position: fixed; bottom: 10%; left: 0%;" /></a>
<style type="text/css">
/* featured fade */
#wrapper-featured{
padding:10px 0 ;
width:650px;
height: 326px;
margin:0 ;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeo_8ZWEUYB_xwVXaWe7Hmc9s5WzD_vOD5N-n4ZirX6g9HsWOZ9zSkyNxbH37RojAA3kwNCAx9vZoA4oaaLwzIfP1-mVnlbueaPTC5-LXN-Y-7juwXCOmDssJBywZc8PNHdgP9X1gHe1uO/s1600/bg_featured.jpg) no-repeat;
position:relative;
}
#wrapper-myslides {
width:550px;
height:210px;
padding: 0 0 ;
margin: 3px 0 0 10px;
position:relative;
float:left;
}
#myslides {
width:550px;
height:210px;
padding: 0 0 50px;
margin: 0 18px ;
overflow:hidden;
}
.panel{
width:550px;
height:210px;
}
#myslides img.crop-foto {
margin:8px 10px 10px 9px;
border:1px solid #fff;
display:block;
position:absolute;
right:3px;
top:0;
}
.featured-entry {
text-align:left;
line-height:1.5em;
font-style:italic;
font-size:12px;
font-family: georgia,Arial,Verdana, Helvetica, sans-serif;
padding: 20px 10px 0;
width:280px;
color:#fff;
position:absolute;
top:0;
left:0;
}
h3.featured-title {
font-size:22px;
text-align:left;
font-family:Georgia, Arial,Verdana, Helvetica, sans-serif;
margin:10px 0 5px;
padding:0 0 5px;
font-weight:normal;
line-height:1em;
font-style:normal;
}
h3.featured-title a:link, h3.featured-title a:visited{
color:#fff;
}
h3.featured-title a:hover {
color:#b1e1ff;
}
#nav-slides a#prev {
position:absolute;
bottom:105px;
left:135px;
z-index:1;
color:#800;
width:14px;
height:15px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyojbXEEVHouAld8667SXog30sknTIwFwlTnKt2mI4dtHETY9Ac_SahmhzUf-OqiesuPxc8Tv-iQJAtGFPJ4NC0Q_Y0W4edlk7jIS_sWtTYmlvZ5nU0CEIDVVVHKaJbKkpOseqK5GHs7rZ/s400/prev.jpg) no-repeat;
}
#nav-slides a#prev:hover{
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwJV1F8lihKhx6yJ1wiGfwJC59jvT1oHgoVkP6zUb4TuE5pPVy86JrbHMH-Cxw91-E5tAJ8989Lvg4IrH7CoD2avY5ADhpsILn8tVbHZ1QyBROS2_WnIPaOYkyC8WbNoWms6s3irCQT5wc/s400/prev_hover.jpg) no-repeat;
}
#nav-slides a#next {
position:absolute;
bottom:105px;
left:160px;
z-index:1;
color:#800;
width:14px;
height:15px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf6fmFsNJlfaXLQ8Lg_zS9XihXTKzbfkkzX3wKi5R-GHbg5iXrAngoEV0hzNrscmbrxFLXiI3pHSqxMnDozZPE9OwOxxOmjp0Dg4ZyNT5fGe4njKXmLmNjvbBwklZyRfaYJAfbyfe_BFJA/s400/next.jpg) no-repeat;
}
#nav-slides a#next:hover{
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXA3NHZ4-H0z6tqnWFipVUj94NQptkjpeF84XEleTi2FuzBxnmqs2XqiEVe8DR6fJiXW0bhj1vfErDiVla84RBeFKA-ioEkPx9Sce-9MiBVLPYlVPURMwvFnR92z4eHcm5OsBvpdWphB87/s400/next_hover.jpg) no-repeat;
}
</style>
<div id="wrapper-featured">
<div id="wrapper-myslides">
<div id="myslides">
<div class="panel">
<div class="image-frame">
<a href="#" target="_blank" rel="bookmark" title="Title-of-Post">
<img alt="" class="crop-foto" height="185" src="ပုံလင့္သည္မွာထည့္ပါ" width="205"/></a>
</div>
<div class="featured-entry">
<h3 class="featured-title">
<a href="လင့္ထည့္ေပးရန္" target="_blank" rel="bookmark" title="Title-of-Post"> ေခါင္းစဥ္အမည္</a></h3>
<p>
Slide 1 စာသားေရးရန္</p>
</div>
<!--end featured-entry-->
</div>
<!--end panel-->
<div class="panel">
<div class="image-frame">
<a href="#" target="_blank" rel="bookmark" title="Title-of-Post">
<img alt="" class="crop-foto" height="185" src="ပုံလင့္သည္မွာထည့္ပါ" width="205"/></a>
</div>
<div class="featured-entry">
<h3 class="featured-title">
<a href="လင့္ထည့္ေပးရန္" target="_blank" rel="bookmark" title="Title-of-Post"> ေခါင္းစဥ္အမည္</a></h3>
<p>
Slide 2 စာသားေရးရန္</p>
</div>
<!--end featured-entry-->
</div>
<!--end panel-->
<div class="panel">
<div class="image-frame">
<a href="#" target="_blank" rel="bookmark" title="Title-of-Post">
<img alt="" class="crop-foto" height="185" src="ပုံလင့္သည္မွာထည့္ပါ" width="205"/></a>
</div>
<div class="featured-entry">
<h3 class="featured-title">
<a href="လင့္ထည့္ေပးရန္" target="_blank" rel="bookmark" title="Title-of-Post"> ေခါင္းစဥ္အမည္</a></h3>
<p>
Slide 3 စာသားေရးရန္</p>
</div>
<!--end featured-entry-->
</div>
<!--end panel-->
<div class="panel">
<div class="image-frame">
<a href="#" target="_blank" rel="bookmark" title="Title-of-Post">
<img alt="" class="crop-foto" height="185" src="ပုံလင့္သည္မွာထည့္ပါ" width="205"/></a>
</div>
<div class="featured-entry">
<h3 class="featured-title">
<a href="လင့္ထည့္ေပးရန္" target="_blank" rel="bookmark" title="Title-of-Post"> ေခါင္းစဥ္အမည္</a></h3>
<p>
Slide 4 စာသားေရးရန္</p>
</div>
<!--end featured-entry-->
</div>
<!--end panel-->
<div class="panel">
<div class="image-frame">
<a href="#" target="_blank" rel="bookmark" title="Title-of-Post">
<img alt="" class="crop-foto" height="185" src="ပုံလင့္သည္မွာထည့္ပါ" width="205"/></a>
</div>
<div class="featured-entry">
<h3 class="featured-title">
<a href="လင့္ထည့္ေပးရန္" target="_blank" rel="bookmark" title="Title-of-Post"> ေခါင္းစဥ္အမည္</a></h3>
<p>
Slide 5 စာသားေရးရန္</p>
</div>
<!--end featured-entry-->
</div>
<!--end panel-->
</div>
<!--end myslides-->
</div>
<!--end wrapper-myslides-->
<div id="nav-slides">
<a href="#" id="prev"></a>
<a href="#" id="next"></a>
</div>
</div>
<!-- wrapper featured-->
မွတ္ခ်က္ ။ ။ ကုဒ္ေတြကို ျပဳျပင္ရန္ ေသျခာ ၾကည့္ေပးပါေနာ္....
(၁) ကုဒ္ေတြကို ေကာ္ပီယူျပီးတာနဲ႕ ထည့္လုိက္ပါ ကုဒ္ေတြ ထဲမွာ မိမိတို႕ ပုံေတြ ေခါင္းစဥ္ေတြ လင့္ေတြ
အစားထိုးေပးရမွာ ေတြ ရွိပါေသးတယ္....
(၂) ပုံလင့္သည္မွာ ထည့္ပါ ဆိုတဲ့ေနရာမွာ မိမိတို႕ ေဖၚျပလိုေသာပုံ ရဲ႕ လင့္ကို ထည့္ပါ။
(၃) လင့္ထည့္ေပး၇န္ ဆိုတဲ့ေနရာမွာ ကလစ္တာနဲ႕ ေရာက္သြားမည့္ ေနရာ လင့္ကိုပါ။
(၄) ေခါင္းစဥ္အမည္ ဆိုတာမွာ ကိုညႊန္ျပတဲ့ လင့္ရဲ႕ title အမည္ေပါ့....။
(၅) slider 1 စာသားေရးရန္ ဆိုတာကေတာ့ ေခါင္းစဥ္ / ပုံ နဲ႕သက္ဆိုင္ေသာ စာသားအနည္းငယ္ေပါ့။
slider 2.3.4.5. အားလုံးထို႕နည္းတူပါဘဲေနာ္....
No comments:
Post a Comment