Moving jquery image slider for featured content in Blogger









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:
]]></b:skin>
And immediately before it, paste this code:
#myslides{



background:#000 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiJXGEHpzKlTvCaJg02Tpu7kDOIwzo_-KIzTBoxRiGg4B-FkzSm2jdEmB71_pLXZmxfQY3k2KBgdNNRa1H-Z1QSwTTlh0qaskuF-BzRI5ocS3XpZjfpMQzesCLbkBrt1AsKdLnTSGQ9A/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: &#39;mygallery&#39;, //id of carousel DIV

beltclass: &#39;belt&#39;, //class of inner &quot;belt&quot; DIV containing all the panel DIVs

panelclass: &#39;panel&#39;, //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: [&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7J_0sEiLT-GcILqTPsvQmHkuMZfibq8_8T533pHIL6EG6jJTe3O0oL0sHX7xVOq1jB85WpU5FR96z6HO-PlSxzjHyvjrgdSIngHv5hC25uhydwGhBFMw0Sw6bCeCR59aG4tUM48sKo6k/s400/left.jpg&#39;, -48, 0], rightnav: [&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbqQiQeTyx4PeRydBYjG1qeQdLAdHGSyqLw3PMucnvbSYuUsXM24maIM9IOQZIhwwiSHwvtedeeNlSfDov_khTMx4zJs3mqfMKbLx8hWFt3HfLQ2cCb0XCmW8mwSJkJI-GTCuHtbodcFI/s400/right.jpg&#39;, 0, 0]},

statusvars: [&#39;statusA&#39;, &#39;statusB&#39;, &#39;statusC&#39;], //register 3 variables that contain current panel (start), current panel (last), and total panels

contenttype: [&#39;external&#39;] //content setting [&#39;inline&#39;] or [&#39;external&#39;, &#39;path_to_external_file&#39;]



})



</script>



Now click Save Template



STEP #2 Log in to Blogger, go to Layout
Add a Gadget of HTML/JavaScript type.
image
Then add this code in to it:


<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/AVvXsEjNaHBIN0C3kA8AYGf3fbFNYmK8RZ8UUtNrSl8T3YUvhKhvmNUjNT3OB1zuBj6ugnx4JyN17rFW9wco8PyuUlC55tjIJ8ZaOe9rBscdF7cY_W6IU05I6CdBd2eKjtpxLvnSM-piIOnuS7Y/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/AVvXsEhVGLL9b_J7MVhWzNyGX7uKVQ_RyQwhrO-dVM9Ou6JslhxUeRluT_4zW8yNu5g_QpzTczLMlFQRCazlh9_1BqkAZWm2CmUR-4p4O6CIHOAYlW8p37ipBElGB_2_Od9rVFtet3kgA5F0y_4/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/AVvXsEg6Gr9KzEg0wo6MfB3LtR1U4QkoG6pjA4JWoVOx9mr6KpFY9UGiiQOvxCBv3_URPJEEbFt-w0ms6uwrbb50PagpYS1wPrXNDdzpFrcDmqB4LEX-BZxnaKuEGFzDW5bj-wrNIPN4s_FwMWg/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/AVvXsEhs7SFLRxMfitgrpz6attPR3Xu4sDcLxZwXhlXr5OhnGuAymHhJNOgFiUHv0qpD-2FsXxLOarCeoqqdJs2iGPQuqNT89zmsBhzApYqWBR65BvBAA99ynPGxEC3w7ivxPQkFYrTUWLFgrkc/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/AVvXsEiJvPs_fB0jUOxPxmLUOMfXKeQEWHz-A50kKt7Tot-7C8XN28s4_uj5NFsgKpIJWxiWRrBAFxFDhZoWK8IJamJ4LPu4J-Nk0O3LeUjDnp5oiROAdJudLLsO78Csjcr0yjoOGhE0WypVAaU/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/AVvXsEii8Zeln7UQTRNIVJUpZU70nN6lLfzpOY4YqcwkG1wKaZB0Dd4pdE_wZK-9G_LPLstJz8leYPidxEKAGeHWRVUCaqE0ZSjmNYv8M1pBTVby9yhTWJAovl7uYmeIS8DoO7GbnG8gaFFWwM8/s640/Versatile.JPG' title='Versatile' width='185'/> </a>

</div>

<!--end code of 6th Template -->



</div></div></div>



Now click Save 













1 comment:

  1. Please can you help me to include that slideshow on my blog, it work but messing everything on my page, Please can you help me online. I live in Morocco my time is GMT. I can give you my account and fix me that : http://antivirusrescue.blogspot.com/

    ReplyDelete