The slider works on jQuery and the styles are incorporated with a little CSS. The slider does feature a stop/start button and the animation goes a little farther than simply sliding to the left. Although I have modified the slider to my recommendations, the credit actually goes to "css-tricks.com".
The basic reason behind choosing this slider rather than the ones available on various other sites is that it occupies the least space on our blog and can be the JavaScript files can be defined internally on blogs which indirectly means that your site will load faster even with the scripts installed - no HTTP requests from the JavaScript file hosting sites. Secondly, it is more feasible and runs perfectly the same on all the web browsers. Finally, it is very easy to understand and customize the coding.
GET THIS INSTALLED ON YOUR BLOGLet us split the customization into two parts. The first one deals with the CSS and JavaScript installation while the second part deals with the HTML coding. Now, let's get started with the first set of installation procedures.
1. Navigate to "Design>>Edit HTML" and make a backup of your template by clicking on the "Download full template" link at the top of the page. Once the back up is over, search for the following piece of code.
</head>
2. Download the following text document -
JAVASCRIPT FOR THE SLIDER and paste the code present in it just above the line mentioned in step 1.
Note: The code which you pasted now, is the internally defined JavaScript that makes the slider work. The only possible customization here could be the timer which is by default set to 4000 milliseconds. You may vary it by changing the number in the following piece of code.
var delayLength = 4000;
3. Next, search for the following piece of code.
]]></b:skin>
4. Paste the following piece of code just above the line mentioned in step 3.
#slider{background:#fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlbVGAjBM8SP7wQE3UzybqqKQeDGA1-Mo_6fvaQDZT4hYwnPJXMr1V3QV2iNgPCDYMKE3bmoYyq1xtZdaSRUbG7eRG9M_GArN5ctWCbomgX12st68LTCLiruBMMOLsG74OSzq4vMnh0mM/s800/slider-bg-new-1.jpg) no-repeat; height:180px; overflow:hidden; margin-top:-3px; margin-bottom:7px; position:relative; width:600px; border:1px solid #ddd}
#mover{width:2880px; position:relative}
.slide{padding:40px 30px; width:600px; float:left; position:relative}
.slide h1{color:#444; font-size:22px; font-family:Georgia,"Times New Roman",Times,serif; line-height:23px; font-style:bold; font-weight:normal; margin-top:-25px; margin-bottom:-8px; color:#ac0000}
.slide p{color:#555; font-family:Georgia,"Times New Roman",Times,serif; font-size:15px; line-height:20px; width:370px}
.slide img{position:absolute; top:20px; left:420px}
#slider-stopper{position:absolute; top:1px; right:20px; background:#ac0000; color:white; padding:3px 8px; font-size:10px; text-transform:uppercase; z-index:1000}
Note: The above mentioned code represents the CSS part of the slider. You may customize it the way you want. Various possible customizations include changing the width of the slider or the background picture of the slider. The font style can be varied to match the fonts present in your blog. I feel these are pretty self-explanatory.
5. I recommend you to save your template temporarily.
HTML PART OF THE CODING1. Search for the following piece of code in your blogger template. Use CTRL+F to fasten your search results.
<b:section class='main' id='main' showaddelement='no'>
2. Paste the following piece of code just above the line mentioned in step 1.
<b:if cond='data:blog.homepageUrl == data:blog.url'>
<div id='slider' style='margin-left:5px;'>
<div id='mover'>
<div class='slide' id='slide-1'>
<h1>Review On Camera</h1>
<div style='text-align: justify;'><span style='font-family:verdana; color: rgb(0, 0, 0);'><p>This Digital Camera comes with 12.1 Mp lens and great performance with tonnes of features. One of my friends purchased this camera and got it delivered few weeks before, after having a thorough analysis read in many websites about digital camera. First of all, lets talk about the package contents which includes...</p></span></div>
<a href='http://www.newbloggingtipz.com'><img alt='learn more' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifyy-KuQJG7NSOlWFKe2EikvKNJF59Bw7KfUe2MI90CLkh6VwFvxOaY_2iBaNUrTtF-XgaK9it2-Z8dD2MuqGPMVhrncbT7Vq6ylTk3Wer7csgYNIfjYEP7ArixEfxpLLsmqksFkiLpdg/s800/read-more.png'/></a>
</div>
<div class='slide' id='slide-1'>
<h1>Review On Blackberry Storm</h1>
<div style='text-align: justify;'><span style='font-family:verdana; color: rgb(0, 0, 0);'> <p>The new Vodafone’s BlackBerry Storm has stormed the market and has attracted the whole world. BlackBerry’s parent company says that this phone is something that will really compete with an iPhone. So, here goes an elaborate review about the phone. The Storm has a clickable touch screen, which is really...</p></span></div>
<a href='http://www.newbloggingtipz.com'><img alt='learn more' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifyy-KuQJG7NSOlWFKe2EikvKNJF59Bw7KfUe2MI90CLkh6VwFvxOaY_2iBaNUrTtF-XgaK9it2-Z8dD2MuqGPMVhrncbT7Vq6ylTk3Wer7csgYNIfjYEP7ArixEfxpLLsmqksFkiLpdg/s800/read-more.png'/></a>
</div>
</div>
</div>
</b:if>
3. Now, you need to vary the content and the titles along with the link to which they should point to. To do so, you need to vary the text highlighted in green. Just copy a snippet from your blog post or write an attractive one that will drive the readers to click the read more button.
4. Next, to change the title of your post, you need to change the text highlighted in orange. Just erase the ones highlighted in orange and write the title of your posts. The last customization would be the links to which they should point to. To get this done, replace the link highlighted in pink with the URL of your posts. That's it!!!
5. To add more posts on your featured content widget, just add the following piece of code before the last two div tags and repeat the steps from 1 to 5 mentioned above.
<div class='slide' id='slide-1'>
<h1>TITLE OF YOUR POST</h1>
<div style='text-align: justify;'><span style='font-family:verdana; color: rgb(0, 0, 0);'> <p>WRITE YOUR CONTENT HERE</p></span></div>
<a href='URL TO YOUR POST'><img alt='learn more' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifyy-KuQJG7NSOlWFKe2EikvKNJF59Bw7KfUe2MI90CLkh6VwFvxOaY_2iBaNUrTtF-XgaK9it2-Z8dD2MuqGPMVhrncbT7Vq6ylTk3Wer7csgYNIfjYEP7ArixEfxpLLsmqksFkiLpdg/s800/read-more.png'/></a>
</div>
6. Now, save your template and view your result. In fact, I recommend you to preview your results before you save them.
Note: The featured content will appear only on the homepage of your site. If you wish to have it on all your pages, then remove the first & the last line in the HTML part of your coding mentioned at step 2.
I hope I made this tutorial look simple and I assume that you enjoyed this post as well. If you feel it's difficult or face any problems during the installation, then you can always reach me via email and get your slider fixed. Please share your opinions about the posts via comments. See you soon in another interesting article!!!