မဂၤလာပါခင္ဗ်ာ :::: ကၽြန္ေတာ္တင္သမွ် Post ေလးမ်ားသည္ ကၽြန္ေတာ္ေလ႕လာဖူးသမွ်ကို ျပန္လည္မွ်ေ၀ေပးျခင္းျဖစ္ပါတယ္။ သူငယ္ခ်င္းအားလံုးလည္း ကၽြန္ေတာ္႕ site မွႀကိဳက္ႏွစ္သက္တဲ႕ မည္႕သည္႕ Post ကိုမဆို ျမန္မာ IT နည္းပညာဖြံ႕ၿဖိဳးတိုးတက္ေရးအတြက္ ျပန္လည္မွ်ေ၀ေပးေစလိုပါတယ္ဗ်ာ။ ::::

Dashboard

Friday, December 21, 2012

Fade Photo Slide Show For Blogger

Css3+fade+slider

                 Blogger သူငယ္ခ်င္းမ်ားအားလံုးအတြက္ ဒီတစ္ခါမွာေတာ႕ မိမိရဲ႕ Blog မွာ ႏွစ္သက္ရာ
ပံုေလးေတြကို Gatget ထည္႕ျပီး Slide Show နဲ႕ ေဖာ္ျပေပးႏိုင္မယ္႕ နည္းလမ္းေလးကိုမွ်ေ၀ေပးလိုက္
ပါတယ္ဗ်ာ။ ပံုရဲ႕ size နဲ႕ မိမိရဲ႕ Gatget ကိုေတာ႕ ကိုယ္တိုင္ဘဲခ်ိန္ယူပါေနာ္။ ပံုရဲ႕ Hight နဲ႕ Width ကို
ေတာ႕ Code မွာ ကၽြန္ေတာ္အေရာင္ခ်ယ္ေပးထားပါတယ္ဗ်ာ။ မိမိလိုသလိုသာျပင္လိုက္ပါေနာ္။ ထည္႕
သြင္းအသံုးျပဳရတာလည္းလြယ္ပါတယ္ဗ်ာ။ ေအာက္မွာ ပံုနဲ႕တကြရွင္းျပေပးထားပါတယ္

Facebook ရဲ႕ Like button ကိုႏွိပ္ျခင္းျဖင္႕ မိမိရဲ႕ Facebook ေပၚမွာ ဒီ Post ေလးေရာက္သြားမွာပါ။ 
ဒီ Post ေလးကိုသေဘာက်တယ္ဆိုရင္လည္း Like Button ေလးကိုႏွိပ္ခဲ႕ေပးပါေနာ္။

ဒီေနရာကေနစျပီေနာ္။ေသခ်ာေလးဖတ္ျပိးလိုက္လုပ္ၾကည္႕ေပးပါ။ လြယ္ပါတယ္။

drop down menu


HTML JAVASCRIPT A simple Drop Down Menu For Blogger
အဆင့္ 1  Design > Page Elements > Add a Gadget ကိုႏွိပ္ပါ။
အဆင္႕ 2 Eidt HTML ကုိေရြးေပးပါ။ ျပီးသြားရင္ ေအာက္က Code ကိုကူးထည္႕ေပးပါ။
အဆင္႕ 3 Save ႏွိပ္ေပးပါ။

<div class="slides">
<ul> <!-- slides -->
<li><img src="http://2.bp.blogspot.com/-y601bZlOrTY/UMlNLI19xlI/AAAAAAAAF6c/gEhYi1QAB5E/s1600/bloggertrix-pic1.jpg" alt="image01" />
<div>Title 1</div>
</li>
<li><img src="http://1.bp.blogspot.com/-uaVXxxiuKFQ/UMlNMHYksDI/AAAAAAAAF6g/4A9waR5guL0/s1600/bloggertrix-pic2.jpg" alt="image02" />
<div>Title 2</div>
</li>
<li><img src="http://1.bp.blogspot.com/-Z3K_KI1Ji3o/UMlNMy6bvZI/AAAAAAAAF6o/dfKEEnstXTM/s1600/bloggertrix-pic3.jpg" alt="image03" />
<div>Title 3</div>
</li>
<li><img src="http://4.bp.blogspot.com/-qKUVh1bbZnQ/UMlNNk8DSzI/AAAAAAAAF6w/-OmZOb-QlWY/s1600/bloggertrix-pic4.jpg" alt="image04" />
<div>Title 4</div>
</li>
</ul>
</div>



ၿပီးသြားရင္ေအာက္ကအဆင္႕အတိုင္းလုိက္လုပ္ေပးပါ။


 
အဆင္႕ 4  Design > Edit HTML > Expand Widget Templates မွာအမွန္ျခစ္ေပးပါ။
အဆင္႕ 5 Ctrl + F ကိုႏွိပ္ျပီး ဒီကုတ္ေလးကိုရွာပါ  ]]></b:skin>
အဆင္႕ 6 ေတြ႕ျပီဆိုရင္ ]]></b:skin> ရဲ႕ အေပၚမွာေအာက္က Code ကို ကူးထည္႕ေပးပါ။
အဆင္႕ 7 အရင္ဆံုး Preview နဲ႕အရင္ၾကည္႕ပါ။ အဆင္ေျပျပီဆိုမွ Save ႏွိပ္ေပးပါ။


/* fade slider www.bloggertrix.com*/
.slides {
height:300px;
margin:50px auto;
overflow:hidden;
position:relative;
width:600px;
}
.slides ul {
list-style:none;
position:relative;
}

/* keyframes #anim_slides */
@-webkit-keyframes anim_slides {
0% {opacity:0;}
6% {opacity:1;}
24% {opacity:1;}
30% {opacity:0;}
100% {opacity:0;}
}
@-moz-keyframes anim_slides {
0% {opacity:0;}
6% {opacity:1;}
24% {opacity:1;}
30% {opacity:0;}
100% {opacity:0;}
}
.slides ul li {
opacity:0;
position:absolute;
top:0;
/* css3 animation */
-webkit-animation-name: anim_slides;
-webkit-animation-duration: 24.0s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
-webkit-animation-direction: normal;
-webkit-animation-delay: 0;
-webkit-animation-play-state: running;
-webkit-animation-fill-mode: forwards;

-moz-animation-name: anim_slides;
-moz-animation-duration: 24.0s;
-moz-animation-timing-function: linear;
-moz-animation-iteration-count: infinite;
-moz-animation-direction: normal;
-moz-animation-delay: 0;
-moz-animation-play-state: running;
-moz-animation-fill-mode: forwards;
}
/* css3 delays */
.slides ul li:nth-child(2), .slides ul li:nth-child(2) div {
-webkit-animation-delay: 6.0s;
-moz-animation-delay: 6.0s;
}
.slides ul li:nth-child(3), .slides ul li:nth-child(3) div {
-webkit-animation-delay: 12.0s;
-moz-animation-delay: 12.0s;
}
.slides ul li:nth-child(4), .slides ul li:nth-child(4) div {
-webkit-animation-delay: 18.0s;
-moz-animation-delay: 18.0s;
}
.slides ul li img {
display:block;
}
/* keyframes #anim_titles */
@-webkit-keyframes anim_titles {
0% {left:100%;
opacity:0;}
5% {
left:10%;
opacity:1;
}
20% {
left:10%;
opacity:1;
}
25% {
left:100%;
opacity:0;
}
100% {
left:100%;
opacity:0;
}
}
@-moz-keyframes anim_titles {
0% {
left:100%;
opacity:0;
}
5% {
left:10%;
opacity:1;
}
20% {
left:10%;
opacity:1;
}
25% {
left:100%;
opacity:0;
}
100% {
left:100%;
opacity:0;
}
}
.slides ul li div {
background-color:#000000;
border-radius:10px 10px 10px 10px;
box-shadow:0 0 5px #FFFFFF inset;
color:#FFFFFF;
font-size:26px;
left:10%;
margin:0 auto;
padding:20px;
position:absolute;
top:50%;
width:200px;

/* css3 animation www.bloggertrix.com*/
-webkit-animation-name: anim_titles;
-webkit-animation-duration: 24.0s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
-webkit-animation-direction: normal;
-webkit-animation-delay: 0;
-webkit-animation-play-state: running;
-webkit-animation-fill-mode: forwards;

-moz-animation-name: anim_titles;
-moz-animation-duration: 24.0s;
-moz-animation-timing-function: linear;
-moz-animation-iteration-count: infinite;
-moz-animation-direction: normal;
-moz-animation-delay: 0;
-moz-animation-play-state: running;
-moz-animation-fill-mode: forwards;
}

အားလံုးဘဲအဆင္ေျပၾကပါေစေနာ္။

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...