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/AVvXsEhAvIA7jQLGuWPbntFOlOVmSY4T-Hqw3tJftNfQnAPxiIPQLxeYONscBJqgwgapVBGNKlm_-P52sdXO7gVVa7kpJX-k-0xJDsWhyphenhyphenh3KNRiJ_QMxNnXwldxLFOwCcjBMf95C51Q-BvAIYA/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/AVvXsEhmwhiQ5hmzNiuFeflDdUBrlxM0vu2l8Lu0bhRipbgjLuBu4wsHrbTZVmtT1_N0_OuM6qA5bMp_q4RBm-Lnj4dGe24Ppc3giG3acO5ra7WUoMwcV8BvQe4Mtn8vAtnP_9NHSAZ2RWslApI/s400/left.jpg&#39;, -48, 0], rightnav: [&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI0QnFybKTXzaB5QBhy6_G7UPfOytIa4pLYUpBLO9vCKy5T8x9P0hNcvxbEVSMANOuthbp2RvysIsqZeO76l5WOXAcpeFlcaDwhOJkh5zcE3lfgBzL_djwFMsEmunOJGe-X-jrQ0Yb-LM/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/AVvXsEi37R0RvhUJWWhSaORNVHUJs736zweehY472N24DfOdvAEzq9RH80omjL4jIeTEdsH5QbRdd8_qjBXdqDkhlwU-_N_Ri923SzsIhjYJERFzGZWuiE-t_qOeLbP-jEWtBTn5Hv7TE9eVht4/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/AVvXsEjl1dcRdRdo9Yk-9I_BEOOXRr584mTdssdBSBx7Yy9tqqlFlRhSMgj2dmt4u2CSC6VOBcxGTlyQb2fM2duSKvnQdTkui7gdun1Bacy0dBeUfQaqJyXtlOtN_n3ynDI6GV0GcvTKOFbcCXI/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/AVvXsEg6uUt7vGGGzxfTBUetB3whhoVCCjxZNYHbfoZjX6wJHOqViwvaLszAEVdfm5b4y-U9UVtxE5NnvtGuEOGunS1dxRhXQK5ZMbMMTsqEl8CsyOZdnt6GCy5sUx13kBhw0g9qmHARcK0JNpg/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/AVvXsEjEQfWJt-qL0-SwbLQBuG9YmPaSLMmaA5vm3r-F4qdAypSK4h0myGcL-PoKMrBcHhd9u1eDhmnnDrpO0dBhe6zHrc45gpceW_95DFIdhbYFLDC4ZBn66gMw_b519CYzNTJtiLqo6M-xMIE/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/AVvXsEhRzU1Ly28WI4HMd3KS_elcXL_2XTL8JQlZoEM2nyRY1hddoaPEp7OVMzbx-TZ6MsLJZgTbn3uK1b29pJDr_1H8ytP_cDafo5Dtp699jM9P9TsAIWJ4KTHS4FurYHIXi2ufA_asL-LHIzE/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/AVvXsEjQOoNz8O_8JB3wrMhgcqFmwGBE5rcrAW9Fo7Wrs_da4ds55WdO7gSG1o3ovjqwe-vueMgUXlg8CIbHngcwMwtbTKVz9r4crpw917J9tKzvwUN8LBVIlnu60A0WOt4Qrpnwp2iP9mBQNsM/s640/Versatile.JPG' title='Versatile' width='185'/> </a>

</div>

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



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



Now click Save 















Article "Moving jquery image slider for featured content in Blogger" protected

Post a Comment

Previous Post Next Post