UPDATE: I updated some of my posts, this post I update 17+ Featured Content Slider for Blogger Using jQuery ..........
STEP #1
Log in to Blogger -> Layout -> Edit HTMLand select the tick-box Expand Widget Templates
Then, find (CTRL+F) this code in the template:
Log in to Blogger -> Layout -> Edit HTMLand select the tick-box Expand Widget Templates
Then, find (CTRL+F) this code in the template:
#myslides{
background:#000 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqlkg6uwU9gDcqMnUsHDq4D6jbf8cuApe9MooudxrGfM8-tjDD85EKgbql6XHfyM33t_v8GBHFbG21yoBtlABg1IryXsLCMLbMLtPywmzi4e07Zu0Vz1GIcGW9_aHBT9C_uH_6wMfqbw/s1600/mslid.jpg) repeat-x;
width: 650px;
height:165px;
margin-bottom:5px;
}
.stepcarousel{
position: relative; /*leave this value alone*/
overflow: scroll; /*leave this value alone*/
width: 554px; /*Width of Carousel Viewer itself*/
height: 160px; /*Height should enough to fit largest content's height*/
margin: 0px 48px 5px 48px;
}
.stepcarousel .belt{
position: absolute; /*leave this value alone*/
left: 0;
top: 0;
}
.stepcarousel .panel{
float: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 20px 10px ; /*margin around each panel*/
width:170px; /*Width of each panel holding each content. If removed, widths should be individually defined on each content DIV then. */
background:#0e1829;
height:120px;
border:1px solid #1d2c44;
}
.stepcarousel .panel p{
text-align: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 5px 5px ; /*margin around each panel*/
}
.stepcarousel .panel h2{
text-align: left; /*leave this value alone*/
height:20px;
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 2px 5px ; /*margin around each panel*/
font-size:16px;
font-weight:bold;
text-align:center;
font-family:Georgia,century gothic,Arial,verdana, sans-serif;
}
.stepcarousel .panel img{
float: left; /*leave this value alone*/
background:#0E1829; /*clip content that go outside dimensions of holding panel DIV*/
margin: 5px 5px 5px 5px; /*margin around each panel*/
padding:0px 0px;
}
Now find this code in the template:
</head>
And immediately before it, paste this code:
<!-- JavaScript Slider -->
<script src='http://www.yourjavascript.com/57180121136/jquery-1.3.2.js' type='text/javascript'/>
<script src='http://www.yourjavascript.com/30111191622/slider.js' type='text/javascript'/>
<!-- End JavaScript Slider -->
<script type='text/javascript'>
stepcarousel.setup({
galleryid: 'mygallery', //id of carousel DIV
beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
panelclass: 'panel', //class of panel DIVs each holding content
panelbehavior: {speed:1500, wraparound:true, persist:true},
autostep: {enable:true, moveby:1, pause:1000},
defaultbuttons: {enable: true, moveby: 4, leftnav: ['https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw8FaDBZH4eqzTLysDqGWpa3Iw4dgXC53CYhMXM2b2j7IOC09Bylzj2VSGH-dHEs4f7XMNpKILNMJwG6YCVd0i16HlEVy7o1pLnafAW1L26NSFtASqtyJXT5n27Hq27IAQhmXbp9fz4ZI/s400/left.jpg', -48, 0], rightnav: ['https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNmbvqgyoC8lgBCXLXjN56GBob6Qp9Ps4mH1-_nk_0rhZ-R2ZtdVVCho7rzQTuxV32JGulr9HVfBCMs8zZRbGDmnaFa1jFxWoa2Bm5dhz3RRhKwC4AT7xbgAAuVE4JResEabAGLN6lByk/s400/right.jpg', 0, 0]},
statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
contenttype: ['external'] //content setting ['inline'] or ['external', 'path_to_external_file']
})
</script>
Now click Save Template
STEP #2 Log in to Blogger, go to Layout
Add a Gadget of HTML/JavaScript type.
<div id="myslides">
<div id="mygallery" class="stepcarousel">
<div class="belt">
<!-- 1st Template -->
<div class='panel'>
<a href='http://www.bloggertemp.com/2010/01/blogger-template-made-in-spain.html' target='blank' title='Made in Spain'> <img alt='Made in Spain' height='135' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoJ6zAECgGTyV-3VUmSpKsCrIyJjpKhcK3vX616KzclPhGy_5q_0a3qFBJZG0UHYHQvbuw7H7Sa3vraJrQZs4cqbvXoNjG9blZWstGtZ2nSgM2lgT3QvY-Y-h5wlBzU3kEAjuXp2-ghnc/s400/madeinspain.jpg' width='185'/> </a>
</div>
<!--end code of 1st Template -->
<!-- 2nd Template -->
<div class='panel'>
<a href='http://www.bloggertemp.com/2010/01/blogger-template-fashion-press.html' target='blank' title='Fashion Press'> <img alt='Fashion Press' height='135' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8VE4b8wqRCpEYIVk8ZPlBtOUEpQ9BvfxcMGdvJZ8RrwH1bNI6NM6HwTMtpUpkVP97LL-jO4_oxeoexcdoouZJYpELg7Jdalwc4WoylsfnnBZ_ZHPowJqv6nF7JWapVIAzGeUifDRXYxc/s400/fashion-press.jpg' width='185'/> </a>
</div>
<!--end code of 2nd Template -->
<!-- 3rd Template -->
<div class='panel'>
<a href='http://www.bloggertemp.com/2010/01/blogger-template-techlure.html' target='blank' title='Techlure'> <img alt='Techlure' height='135' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVbqH80Gaz8fDxL83UBilONi6QGEs0toZeUcqEF1kiaeK16rVbo-_9cYE1qB6a9ti5v47WEXBAB0t1ZY64tQhB_k6lhHuh6hfOHB4Luiob248GyLr3FKTxU3X7mEvmvbz4rdHOniz9eFg/s640/techlure.JPG' title='Techlure' width='185'/> </a>
</div>
<!--end code of 3rd Template -->
<!-- 4th Template -->
<div class='panel'>
<a href='http://www.bloggertemp.com/2010/02/blogger-template-woodmag.html' target='blank' title='Woodmag'> <img alt='Woodmag' height='135' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOm8ESWhWcWojUtkn8dRac_LvBKSn7jFGmEcoivXnvtkSx1NT1DB83OKbfRRT4CTzA3EwxrPSNvbfzV6Pqa7aVhAtvZZKlvEj_UIyDtPywRAjNAO5KxukoFhpz5KJXmXWK7Ui8fYuKdNE/s640/Woodmag-blogger-template.jpg' title='Techlure' width='185'/> </a>
</div>
<!--end code of 4th Template -->
<!-- 5th Template -->
<div class='panel'>
<a href='http://www.bloggertemp.com/2010/02/blogger-template-showcase.html' target='blank' title='Showcase'> <img alt='Showcase' height='135' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKX0Ev9qCc3BxqDtJvQnyYCQF8viaEDKl_mAnTObHdW_6BTZx_BJbx-QlmZhGmePQWYo4qHa4XlPYT6LuIjWKn19HLGT2E8Sw2A6YLaWnnZbtwku9kO_HFUoyMaMfGlAVbbwv0NsWtDsI/s640/showcase-portfolio-blogger-template.JPG' title='Showcase' width='185'/> </a>
</div>
<!--end code of 5th Template -->
<!-- 6th Template -->
<div class='panel'>
<a href='http://www.bloggertemp.com/2010/03/blogger-template-versatile.html' target='blank' title='Versatile'> <img alt='Versatile' height='135' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLiNWXJeVguyjmzVrI5Tur-83PKq7kvnkav5mDXXqiwvDCm2ytw1HkRpuPhTiYbQ9hwVYPRyNZQ3G8exCZk-W2QXi-AgyVQKksorFRdBGUJ9tf04cBhGOyIzrEkkMwD112zRQfLYpycoo/s640/Versatile.JPG' title='Versatile' width='185'/> </a>
</div>
<!--end code of 6th Template -->
</div></div></div>
Now click Save
No comments:
Post a Comment