လိုက္ပါ..
ပံုကေတာ့ ဒီလိုမ်ိဳးပါ။
သူ့ကို ဘယ္လိုထည့္လဲဆိုရင္..2.Ctrl+F နွိပ္ျပီး ]]></b:skin> ယခုေပးထားေသာ ကုဒ္ကို ရွာပါ။
3.ေတြ့ျပီဆိုရင္ ]]></b:skin> ဒီကုဒ္ရဲ့ အေပၚမွာ ေအာက္ကေပးထားတဲ့ ကုဒ္ကို ထည့္ပါ။။
/*--Main Container--*/.main_view {
float: left;
position: relative;
}
/*--Window/Masking Styles--*/
.window {
height:250px; width: 500px;
overflow: hidden; /*--Hides anything outside of the set width/height--*/position: relative;
}
.image_reel {
position: absolute;
top: 0; left: 0;
}
.image_reel img {float: left;}
/*--Paging Styles--*/
.paging {
position: absolute;
bottom: 40px; right: -7px;
width: 178px; height:47px;
z-index: 100; /*--Assures the paging stays on the top layer--*/
text-align: center;
line-height: 40px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVCN4gZUgHBNJ_A7iLNOLXWGLZLwRaYO1GnNKUem7Eqg6AY7mrXeAXmXhKkc3nKo_Wpi1HC4tWShIWxgA79CuaJH1J5YdOyXxyqMPT9mQSOcByUhd077pUxZjgyE_rpaViazyVz3hDiSa3/s1600/paging_bg2.png) no-repeat;
display: none; /*--Hidden by default, will be later shown with jQuery--*/
}
.paging a {
padding: 5px;
text-decoration: none;
color: #fff;
}
.paging a.active {
font-weight: bold;
background: #920000;
border: 1px solid #610000;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
}
.paging a:hover {font-weight: bold;}
4.ေနာက္တစ္ခုက </head> ယခုေပးထားေသာ ကုဒ္ကို ရွာပါ။
5.ေတြ့ျပီဆိုရင္ </head> ဒီကုဒ္ရဲ့ အေပၚမွာ ေအာက္ကေပးထားတဲ့ ကုဒ္ကို ထည့္ပါ။။
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
$(document).ready(function() {
//Set Default State of each portfolio piece
$(".paging").show();
$(".paging a:first").addClass("active");
//Get size of images, how many there are, then determin the size of the image reel.
var imageWidth = $(".window").width();
var imageSum = $(".image_reel img").size();
var imageReelWidth = imageWidth * imageSum;
//Adjust the image reel to its new size
$(".image_reel").css({'width' : imageReelWidth});
//Paging + Slider Function
rotate = function(){
var triggerID = $active.attr("rel") - 1; //Get number of times to slide
var image_reelPosition = triggerID * imageWidth; //Determines the distance the image reel needs to slide
$(".paging a").removeClass('active'); //Remove all active class
$active.addClass('active'); //Add active class (the $active is declared in the rotateSwitch function)
//Slider Animation
$(".image_reel").animate({
left: -image_reelPosition
}, 500 );
};
//Rotation + Timing Event
rotateSwitch = function(){
play = setInterval(function(){ //Set timer - this will repeat itself every 3 seconds
$active = $('.paging a.active').next();
if ( $active.length === 0) { //If paging reaches the end...
$active = $('.paging a:first'); //go back to first
}
rotate(); //Trigger the paging and slider function
}, 7000); //Timer speed in milliseconds (3 seconds)
};
rotateSwitch(); //Run function on launch
//On Hover
$(".image_reel a").hover(function() {
clearInterval(play); //Stop the rotation
}, function() {
rotateSwitch(); //Resume rotation
});
//On Click
$(".paging a").click(function() {
$active = $(this); //Activate the clicked paging
//Reset Timer
clearInterval(play); //Stop the rotation
rotate(); //Trigger rotation immediately
rotateSwitch(); // Resume rotation
return false; //Prevent browser jump to link anchor
});
});
</script>
ထည့္ျပီး သြားရင္ save template ကိုွနွိပ္ပါ။။
6.Design ကေနျပီး Add a Gadget ကိုသြားပါ။။ျပီးရင္ html/java script ကိုေရႊးပါ။ျပီးရင္ေအာက္ ကကုဒ္ေလးကို ထည့္ေပးပါ။။မိမိလိုသလို ေျပာင္းယူအသံုးျပဳပါ။
<div class="container">
<div class="folio_block">
<div class="main_view">
<div class="window">
<div class="image_reel">
<a href="http://www.spiceupyourblog.com/"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQxQuZNG8Wp9FOR9aKa2L_hrIy_mUPxqouhe-HIalia9WoNPFyzGyQO31AksCfCOGbRVpOEAVmO3uTL7AqCsHApO-PH3dxEEtwsHZoRSu7VJruJBIDQQi03GTZFKTJ9SFxGZE24pYEjjl_/s1600/slider-image-1.jpg" alt="" /></a>
<a href="http://www.spiceupyourblog.com/"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqehYQMMGK9t-XyLiu4wDvYE1-6fHgY1luGTwi97zI2Xu1asTyFNyYaP_j_sjFktIzHJFmpbaPQ9h5BptICKxB0at7lQz1Pr4qH-SQjo9dJGPjhg51cRA2uiy6w61qsGyvHx3RCuDPWfMP/s1600/slider-image-2.jpg" alt="" /></a>
<a href="http://www.spiceupyourblog.com/"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLWd3OQ06ltKoacgLK8Z3zkckhdNSSl6kFjoZClYU-pkGxazKma6eu2z7JTAGfDGDos9W6-5J_csGwWJUplYGY_bxP_oBqpnZE-Bboz4rWyi3b0KDALjK_1OFfP6Ci2aNX3xzlzIEvDq_T/s1600/slider-image-3.jpg" alt="" /></a>
<a href="http://www.spiceupyourblog.com/"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhdmEiGBlKkrGycDpSAbjdh-EaZqNRUv755oChy006ELP7k5ebAFf-PanNpdu3Oiw26p8bU43u85PgTMw8iwjl0dl0lgaq7cnpFmw1qcLnReCcqY41WA0miYpxc4sjt92eHgLJJJmMwEEj/s1600/slider-image-4.jpg" alt="" /></a>
<a href="http://www.spiceupyourblog.com/"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiws_pWwej4MjcfRVD3MoPN05gKsIo2wK1LvQ7OzIN11MYhH7FfXkKnze6h7D7cdNemdIsZSLkkkNby5Alz8Lls3qmUDXyyeTYneNYyWlaxseaWHO73aOJLsn5_oNasx-nhWAGH0SbKA2jh/s1600/slider-image-6.jpg" alt="" /></a>
</div>
</div>
<div class="paging">
<a href="#" rel="1">1</a>
<a href="#" rel="2">2</a>
<a href="#" rel="3">3</a>
<a href="#" rel="4">4</a>
<a href="#" rel="5">5</a>
</div>
</div>
</div>
</div>
ျပီးရင္ save ကိုနွိပ္လိုက္ပါ။။
မွတ္ခ်က္။ ။1. slide show img url ေနရာမွာ မိမိတို့ ၾကိုက္တဲ့ img url ကိုထည့္ေပးပါ။။
2. img ေတြ မိမိထည့္ခ်င္သေလာက္ထည့္မယ္ဆိုရင္ အေပၚမွာေပးထားတဲ့ img ထည့္ထားတဲ့ကုဒ္ေတြေအာက္မွာ မိမိတို့ထပ္ဆင့္ပြားမယ့္ img လင့္ေတြကို ထပ္ထည့္သံုးေပးပါ..ျပီးရင္
<a href="#" rel="6">6</a> ဒီလိုေနရာေတြမွာလည္း img အေရအတြက္လိုက္ တစ္ေၾကာင္းခ်င္း
6//7/8/9...စသည္ျဖင့္ပို့ထည့္ေပးသြားပါခင္ဗ်ာ...ခုကၽြန္ေတာ္ေပးထားတဲ့ လင့္မွာဆိုရင္ img က 5 ပံုထဲေၾကာင့္ 5 ခုပဲရွိပါတယ္ခင္ဗ်ာ..ကိုုယ္လိုသေလာက္ထပ္ျဖည့္လို့ရပါတယ္။။။
နားမလည္တာ ရွိရင္ ျပန္ေျပာပါခင္ဗ်ာ....





