How to Add Image Slider in Blogger Post with Picture
ব্লগে ফটো স্লাইডার যুক্ত করাঃ
বন্ধুরা, আপনি আপনার ব্লগে ফটো যুক্ত করে ব্লগকে আরও সুন্দর করে তুলতে পারেন ।এবার দেখব কি করে ব্লগে সহজ পদ্ধতিতে ফটো স্লাইডার যুক্ত করা যায়।পদ্ধতি ঃ-
পদ্ধতি -১।আপনি প্রথমে আপনার ব্লগ অ্যাকাউন্ট এ প্রবেশ করুন।
পদ্ধতি -২। এর পর Add a Gadget লিখাটিতে ক্লিক করুন । নিচের ছবিটি অনুসরণ করুন -
পদ্ধতি -৩। এর পর HTML/JavaScript লেখাটিতে ক্লিক করুন । নিচের ছবিটি অনুসরণ করুন -
পদ্ধতি -৪। এর পর পদ্ধতি -৫ এর কোডটি কপি করে নিচের HTML ঘরটিতে পেস্ট করুন । নিচের ছবিটি অনুসরণ করুন -
পদ্ধতি -৫।
নিচের কোড টি উপরের HTML ঘড়ে পেস্ট করুন ঃ-
<style type="text/css">
/* http://dimpost.com */
#sliderFrame {position:relative;width:700px;margin: 0 auto 40px;}
#slider {
width:700px;height:306px;/* Make it the same size as your images */
background:#fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSvKI43wDnNLNXXwCAykZOQ6mgu1nCAnER5RErQzMWOQxLLjG1WB7GHYpd2GQroue5Otz_RQC3FUwtGb4HmNOGpz6JoabZKSFtlfbw-fBNGNTL5NuikxgojanRewLFNs8pzn8BIa3TvZqs/s1600/loading.gif) no-repeat 50% 50%;
position:relative;
margin:0 auto;/*make the image slider center-aligned */
box-shadow: 0px 1px 5px #999999;
}
#slider img {
position:absolute;
border:none;
display:none;
}
/* the link style (if an image is wrapped in a link) */
#slider a.imgLink {
z-index:2;
display:none;position:absolute;
top:0px;left:0px;border:0;padding:0;margin:0;
width:100%;height:100%;
}
/* Caption styles */
div.mc-caption-bg, div.mc-caption-bg2 {
position:absolute;
width:100%;
height:auto;
padding:0;
left:0px;
bottom:15px;
z-index:3;
overflow:hidden;
font-size: 0;
}
div.mc-caption-bg {
background-color:black;
}
div.mc-caption {
font: bold 14px/20px Arial;
color:#EEE;
z-index:4;
padding:10px 0;
text-align:center;
}
div.mc-caption a {
color:#FB0;
}
div.mc-caption a:hover {
color:#DA0;
}
/* ------ built-in navigation bullets wrapper ------*/
div.navBulletsWrapper {
top:320px; left:280px; /* Its position is relative to the #slider */
width:150px;
background:none;
padding-left:20px;
position:relative;
z-index:5;
cursor:pointer;
}
/* each bullet */
div.navBulletsWrapper div
{
width:11px; height:11px;
background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkolZ1SM-KZ1X2faAmnJ_YwrurxhQ3_bCkOr4ZCRpxGLGGrl4JqEaAi3fAOxYQjHbXG1bIgUeITEA6J0BX2U9kZFq_QKDA0I6l1Gq7SXh1J4Q4BLHvOCnr_fcoVlxosTYRr7ggEXbrNfPO/s1600/bullet.png) no-repeat 0 0;
float:left;overflow:hidden;vertical-align:middle;cursor:pointer;
margin-right:11px;/* distance between each bullet*/
_position:relative;/*IE6 hack*/
}
div.navBulletsWrapper div.active {background-position:0 -11px;}
/* --------- Others ------- */
#slider
{
transform: translate3d(0,0,0);
-ms-transform:translate3d(0,0,0);
-moz-transform:translate3d(0,0,0);
-o-transform:translate3d(0,0,0);
}
</style>
<script src="http://dimpost.googlecode.com/files/js-image-slider.js" type="text/javascript"></script>
<div id="sliderFrame">
<div id="slider">
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrP2qBIbm2LJn1mGDCiu5V8CPKtkvLEpt0bYXVAB2-LvQpV1BExhendX2ha7PM87o_eqQEAY_ayV49yggwNPy1c8kcBEOarxinkhlkRX_2ykCC6HGYPLHASvwk_GV1VoRVCQt53IElXTWl/h120/image-slider-1.jpg" alt="#htmlcaption1" /></a>
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh3E-4Qc6yi5r9x7Of4qxc8xtFOQ8WbfMgl1Lhz5XRJbkIucRzbaU3Br5GL3Rp-_Idu2I4nxTJ5Y-ImaSYvUn4snjpUj7cl6q_plhkr2fx5QzcSVkey6HmnAZU1RKOwVO8O3LIY1YwCmu0/h120/image-slider-2.jpg" alt="Go UP!" /></a>
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA8gtiLL9LhDpBMGzXrLGi2wehRyxyRzBvrFp99bPD4ODkL3OKSPl0ZcrTi3e5h9N5nqdnSgc0E53iqDppHR4eJWsu2_GPYyUWbwA5-NmJzNLguY4bzhviolw-A1py5YiYrnR3NHfTSTeW/h120/image-slider-3.jpg" alt="Pure Javascript. No jQuery. No flash." /></a>
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZxhQuqhGgKbcr65sYC8IOHTtLsT5gAN0zFTT_9KWfDcfE3oBWYME0ch3NR41gFu3Zg2c7oUo6CFBKKlNt4VUKK-XlRGjjO7zOld_MGN-_0gfUJHBKnqOO3gXZUNq3lsk2-2LAJNoQwIwZ/h120/image-slider-4.jpg" alt="#htmlcaption2" /></a>
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdkkcxOPfY6kZvf4zVRw99_jGt1hQ-mC5V9DSkSFRPeOIKdCchVdNJ25xXM-07PExR-NhQHG_XU3cwwcSemcFBu3O9-Gp8_1TX65bxVXw1lRFnvhLxGQaII0aj0yGPnxAx0532md8wRki-/h120/image-slider-5.jpg" alt="Stay Connected"/></a>
</div><a href="http://www.haakblog.com" rel="dofollow" target="_blank" title="blogger"><img src="https://bitly.com/haakblog" alt="blogger" border="0" style="position: fixed; bottom: 10%; right: 0%;" /></a><a href="http://www.hon99.com" rel="dofollow" target="_blank" title="blogger"><img src="https://bitly.com/haakblog" alt="blogger" border="0" style="position: fixed; bottom: 10%; right: 0%;" /></a>
<div id="htmlcaption1" style="display: none;">
Code by <a href="http://www.haakblog.com" target="_blank">Haakblog</a>
</div>
<div id="htmlcaption2" style="display: none;">
<a href="http://www.w3schools.com/css/" target="_blank">CSS</a> <a href="http://www.w3schools.com/js/default.asp" target="_blank">JavaScript</a> Rocks.
</div>
</div>
বিঃদ্রঃ- উপরের কোড এর লাল লেখা গুলি আপনি আপনার ছবির URL টাইপ করুন আর উপভোগ করুন । ধন্যবাদ ।।
/* http://dimpost.com */
#sliderFrame {position:relative;width:700px;margin: 0 auto 40px;}
#slider {
width:700px;height:306px;/* Make it the same size as your images */
background:#fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSvKI43wDnNLNXXwCAykZOQ6mgu1nCAnER5RErQzMWOQxLLjG1WB7GHYpd2GQroue5Otz_RQC3FUwtGb4HmNOGpz6JoabZKSFtlfbw-fBNGNTL5NuikxgojanRewLFNs8pzn8BIa3TvZqs/s1600/loading.gif) no-repeat 50% 50%;
position:relative;
margin:0 auto;/*make the image slider center-aligned */
box-shadow: 0px 1px 5px #999999;
}
#slider img {
position:absolute;
border:none;
display:none;
}
/* the link style (if an image is wrapped in a link) */
#slider a.imgLink {
z-index:2;
display:none;position:absolute;
top:0px;left:0px;border:0;padding:0;margin:0;
width:100%;height:100%;
}
/* Caption styles */
div.mc-caption-bg, div.mc-caption-bg2 {
position:absolute;
width:100%;
height:auto;
padding:0;
left:0px;
bottom:15px;
z-index:3;
overflow:hidden;
font-size: 0;
}
div.mc-caption-bg {
background-color:black;
}
div.mc-caption {
font: bold 14px/20px Arial;
color:#EEE;
z-index:4;
padding:10px 0;
text-align:center;
}
div.mc-caption a {
color:#FB0;
}
div.mc-caption a:hover {
color:#DA0;
}
/* ------ built-in navigation bullets wrapper ------*/
div.navBulletsWrapper {
top:320px; left:280px; /* Its position is relative to the #slider */
width:150px;
background:none;
padding-left:20px;
position:relative;
z-index:5;
cursor:pointer;
}
/* each bullet */
div.navBulletsWrapper div
{
width:11px; height:11px;
background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkolZ1SM-KZ1X2faAmnJ_YwrurxhQ3_bCkOr4ZCRpxGLGGrl4JqEaAi3fAOxYQjHbXG1bIgUeITEA6J0BX2U9kZFq_QKDA0I6l1Gq7SXh1J4Q4BLHvOCnr_fcoVlxosTYRr7ggEXbrNfPO/s1600/bullet.png) no-repeat 0 0;
float:left;overflow:hidden;vertical-align:middle;cursor:pointer;
margin-right:11px;/* distance between each bullet*/
_position:relative;/*IE6 hack*/
}
div.navBulletsWrapper div.active {background-position:0 -11px;}
/* --------- Others ------- */
#slider
{
transform: translate3d(0,0,0);
-ms-transform:translate3d(0,0,0);
-moz-transform:translate3d(0,0,0);
-o-transform:translate3d(0,0,0);
}
</style>
<script src="http://dimpost.googlecode.com/files/js-image-slider.js" type="text/javascript"></script>
<div id="sliderFrame">
<div id="slider">
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrP2qBIbm2LJn1mGDCiu5V8CPKtkvLEpt0bYXVAB2-LvQpV1BExhendX2ha7PM87o_eqQEAY_ayV49yggwNPy1c8kcBEOarxinkhlkRX_2ykCC6HGYPLHASvwk_GV1VoRVCQt53IElXTWl/h120/image-slider-1.jpg" alt="#htmlcaption1" /></a>
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh3E-4Qc6yi5r9x7Of4qxc8xtFOQ8WbfMgl1Lhz5XRJbkIucRzbaU3Br5GL3Rp-_Idu2I4nxTJ5Y-ImaSYvUn4snjpUj7cl6q_plhkr2fx5QzcSVkey6HmnAZU1RKOwVO8O3LIY1YwCmu0/h120/image-slider-2.jpg" alt="Go UP!" /></a>
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA8gtiLL9LhDpBMGzXrLGi2wehRyxyRzBvrFp99bPD4ODkL3OKSPl0ZcrTi3e5h9N5nqdnSgc0E53iqDppHR4eJWsu2_GPYyUWbwA5-NmJzNLguY4bzhviolw-A1py5YiYrnR3NHfTSTeW/h120/image-slider-3.jpg" alt="Pure Javascript. No jQuery. No flash." /></a>
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZxhQuqhGgKbcr65sYC8IOHTtLsT5gAN0zFTT_9KWfDcfE3oBWYME0ch3NR41gFu3Zg2c7oUo6CFBKKlNt4VUKK-XlRGjjO7zOld_MGN-_0gfUJHBKnqOO3gXZUNq3lsk2-2LAJNoQwIwZ/h120/image-slider-4.jpg" alt="#htmlcaption2" /></a>
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdkkcxOPfY6kZvf4zVRw99_jGt1hQ-mC5V9DSkSFRPeOIKdCchVdNJ25xXM-07PExR-NhQHG_XU3cwwcSemcFBu3O9-Gp8_1TX65bxVXw1lRFnvhLxGQaII0aj0yGPnxAx0532md8wRki-/h120/image-slider-5.jpg" alt="Stay Connected"/></a>
</div><a href="http://www.haakblog.com" rel="dofollow" target="_blank" title="blogger"><img src="https://bitly.com/haakblog" alt="blogger" border="0" style="position: fixed; bottom: 10%; right: 0%;" /></a><a href="http://www.hon99.com" rel="dofollow" target="_blank" title="blogger"><img src="https://bitly.com/haakblog" alt="blogger" border="0" style="position: fixed; bottom: 10%; right: 0%;" /></a>
<div id="htmlcaption1" style="display: none;">
Code by <a href="http://www.haakblog.com" target="_blank">Haakblog</a>
</div>
<div id="htmlcaption2" style="display: none;">
<a href="http://www.w3schools.com/css/" target="_blank">CSS</a> <a href="http://www.w3schools.com/js/default.asp" target="_blank">JavaScript</a> Rocks.
</div>
</div>
বিঃদ্রঃ- উপরের কোড এর লাল লেখা গুলি আপনি আপনার ছবির URL টাইপ করুন আর উপভোগ করুন । ধন্যবাদ ।।
0 comments