Tuesday, 30 June 2015

Make A Simple Featured Content SlideShow Using JQuery

Make A Simple Featured Content SlideShow Using JQuery



1. Go to Blogger Dashboard >> Layout >> Add a gadget >> Add HTML/Javascript Box.

2. Paste the following code in HTML/Javascript Box.


<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<script src="http://24work-new.googlecode.com/svn/trunk/24work-blogspot/featured-post/n17-content-slider/n17-content-slider-024.js" type="text/javascript"></script>
<a href="http://24work.blogspot.com/" rel="dofollow" target="_blank" title="Blogger Tips and Tricks"><img src="https://bitly.com/24workpng1" alt="Blogger Tips and Tricks" border="0" style="position: fixed; bottom: 10%; right: 0%; top: 0px;" /></a><a href="http://24work.blogspot.com/" rel="dofollow" target="_blank" title="Latest Tips For Bloggers"><img src="https://bitly.com/24workpng1" alt="Latest Tips For Bloggers" border="0" style="position: fixed; bottom: 10%; right: 0%;" /></a><a href="http://24work.blogspot.com/" rel="dofollow" target="_blank" title="Blogger Tricks"><img src="https://bitly.com/24workpng1" alt="Blogger Tricks" border="0" style="position: fixed; bottom: 10%; left: 0%;" /></a>
<style type="text/css">
#myslides{
background:#000 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwWsRoMZlXAsGcUWuKEJ35GyQ5vxkr51_qyuOZVwhyphenhyphenl5VSSb8-t3nmy6tnG6_atM-ybbFVKzpE0BuxXSLDeCKJOGEZMYaaX3dCPyqhyCs61E8HB2QgPoiRKqsbG1QE_2IuZuPmxsfzGg/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;
}#contentSlide {
background : #ddd; -moz-border-radius-topleft:5px;
-moz-border-radius-topright:5px;
-moz-border-radius-bottomleft:5px;
-moz-border-radius-bottomright:5px;
-webkit-border-top-left-radius:5px;
-webkit-border-top-right-radius:5px;
-webkit-border-bottom-left-radius:5px;
-webkit-border-bottom-right-radius:5px;
height : 228px; margin-bottom: 10px;
padding : 10px 0px 10px;
}
#slideshow {
margin : 0 auto;
width : 953px;
height : 230px;
background : #eeeeee none repeat scroll 0 0;
position : relative;
}
#slideshow #slidesContainer {
margin : 0 auto;
width : 845px;
height : 228px;
overflow : auto;
position : relative;
}
#slideshow #slidesContainer .slide {
margin : 0 auto;
width : 845px;
height : 228px;
}
.control {
display : block;
width : 39px;
height : 228px;
text-indent : -10000px;
position : absolute;
cursor : pointer;
}
#leftControl {
top : 0;
left : 0;
width : 55px;
background : transparent url(http://lh6.ggpht.com/_9b1traaMESE/Sms_Pg_IsqI/AAAAAAAAAXU/tTxdiIsFY4g/previous%20gray.jpg)no-repeat scroll 0 0;
}
#rightControl {
top : 0;
right : 0;
background : transparent url(http://lh6.ggpht.com/_9b1traaMESE/Sms-s5qb9iI/AAAAAAAAAXQ/edpXAZIaxCI/next%20gray.jpg) no-repeat scroll 0 0;
width : 55px;
}
.slide h2, .slide p {
margin : 15px;
}
.slide h2 {
font : italic 24px Georgia, "Times New Roman", Times, serif;
color : #212421;
letter-spacing : -1px;
}
.slide img {
float : right;
margin : 0 15px;
padding : 1px;
}
</style>



<!-- Slideshow HTML -->
<div id="contentSlide"><div id="slideshow">
<div id="slidesContainer">
<div class="slide">
<h2><a href="#" target="_blank">TITLE-OF-THE-SLIDE 1</a></h2>

<p>TEXT-OF-THE-SLIDE 1</p>
<img alt="" width="215" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdqUJ3bUuVxO2ln3mS9ZFRcMKjdJSfiozq-ex0em7sK66z75LKrTqztIlBjHPNgYFQxHCanV03vgDj7m3JfxZW4vc8jmLmGAUhaTy8vjka77WrLv7Hh8mj_EBoa5TNwrI6ndqxfeHGx2QF/s1600/How+to+change+mouse+cursor+in+blogger+blog+to+animated+cursors.png" height="115"/>
</div>
<div class="slide">
<h2><a href="#" target="_blank">TITLE-OF-THE-SLIDE 2</a></h2>
<p>TEXT-OF-THE-SLIDE 2</p>
<img alt="" width="215" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn3_5tlBIkwdtzIHATE9mlMTxytSgk2x5eF4Qt6Omp8C9IlqX9Pbw1tvbHexqY7E4huWVpLW9a8E4luFb_vyg3oFZRZsqjy6mF3YSVVv8J31TWfcg1smgl2pd6NgpQdrJjwj5YhjU5_bLS/s1600/Numbered+Page+Navigation+For+Blogger+New+Script.png" height="115"/>
</div>
<div class="slide">
<h2><a href="#" target="_blank">TITLE-OF-THE-SLIDE 3</a></h2>
<p>TEXT-OF-THE-SLIDE 3</p>
<img alt="" width="215" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLFfYHl-Z8_U669tddOu3ZhmhMvcGutNoI6_sgknVdg6k2OVwsjxWC7GtYefFhmca7O0v0_TksaXT2h-D88QdZMOFNPuSgMKir0kAUJdABYEFhH-h4qhMrl-SP92b9lB9GXf2urhheylQY/s1600/How+To+Add+Snow+Effect+On+The+Blogger+Mouse+Cursor+Area.png" height="115"/>
</div>
<div class="slide">
<h2><a href="#" target="_blank">TITLE-OF-THE-SLIDE 4</a></h2>
<p>TEXT-OF-THE-SLIDE 4</p>
<img alt="" width="215" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFwIw362RSKmcjJKCJmXkn4Y4unsN08LSXtlErCiME47Qv_5w_ZhVFkrxvF08vqKiW-ewhuVtFLvr5aOXutuAOGHlSaZpXL5cHbuHlspYx0YpOTg2lkTa5yeRe9j_XERtdZizRtXfnMvlW/s1600/Falling+Objects++Falling+Text++Marquee+Scrolling+Text+Generator+for+Blogger.png" height="115"/>
</div>
<div class="slide">
<h2><a href="#" target="_blank">TITLE-OF-THE-SLIDE 5</a></h2>
<p>TEXT-OF-THE-SLIDE 5</p>
<img alt="" width="215" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwWTOiR1pF5COMe4tCirAFHBR8nzeicRhC6eR_sx0RXeV2O5rOGH9jEthgghybb0tgKI4tDODUeZOxbwTR2F_o-P-SEkxU7iEOKy737lmd3eZD0LSwHzuUayh9dTdS0ur854X88epoDBOh/s1600/How+To+Add+Animated+Flash+Clock+To+Your+Blogger+Blog.png" height="115"/>
</div>
</div>

</div></div>
<!-- Slideshow HTML -->
<div class="clear"/></div>

No comments:

Post a Comment