Tuesday, 30 June 2015

Simple jQuery Featured Content Slider for Blogger Blog

Simple jQuery Featured Content Slider for Blogger Blog




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/jquery.min.js" type="text/javascript"></script>
<script src="http://24work-new.googlecode.com/svn/trunk/24work-blogspot/featured-post/17-content-code/freebloggerhelp-jquery.flow.1.2.auto.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#myController").jFlow({
slides: "#slides",
controller: ".jFlowControl", // must be class, use . sign
slideWrapper : "#jFlowSlide", // must be id, use # sign
selectedWrapper: "jFlowSelected", // just pure text, no sign
auto: true, //auto change slide, default true
width: "610px",
height: "235px",
duration: 400,
prev: ".jFlowPrev", // must be class, use . sign
next: ".jFlowNext" // must be class, use . sign
});
});
</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">
#jFlowSlide{ background:#f8f8f8; font-family: Georgia; }
#myController { font-family: Georgia; padding:2px 0; width:610px; background:#000000; }
#myController span.jFlowSelected { background:#43A0D5;margin-right:0px; }
.slide-wrapper { padding: 5px; }
.slide-thumbnail { width:300px; float:left; }
.slide-thumbnail img {max-width:300px; }
.slide-details { width:290px; float:right; margin-left:10px;}
.slide-details h2 { font-size:1.5em; font-style: italic; font-weight:normal; line-height: 1; margin:0; }
.slide-details .description { margin-top:10px; }
.jFlowControl, .jFlowPrev, .jFlowNext { color:#FFF; cursor:pointer; padding-left:5px; padding-right:5px; padding-top:2px; padding-bottom:2px; }
.jFlowControl:hover, .jFlowPrev:hover, .jFlowNext:hover { background: #43A0D5; }
</style>



<div class="jflow-content-slider">
<div id="slides">
<div class="slide-wrapper">
<div class="slide-thumbnail">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdqUJ3bUuVxO2ln3mS9ZFRcMKjdJSfiozq-ex0em7sK66z75LKrTqztIlBjHPNgYFQxHCanV03vgDj7m3JfxZW4vc8jmLmGAUhaTy8vjka77WrLv7Hh8mj_EBoa5TNwrI6ndqxfeHGx2QF/s1600/How+to+change+mouse+cursor+in+blogger+blog+to+animated+cursors.png" alt=""/>
</div>
<div class="slide-details">
<h2><a href="#" target="_blank">TITLE-OF-THE-SLIDE 1</a></h2>

<div class="description">
TEXT-OF-THE-SLIDE 1
</div>
</div>
<div class="clear"></div>
</div>
<div class="slide-wrapper">
<div class="slide-thumbnail">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn3_5tlBIkwdtzIHATE9mlMTxytSgk2x5eF4Qt6Omp8C9IlqX9Pbw1tvbHexqY7E4huWVpLW9a8E4luFb_vyg3oFZRZsqjy6mF3YSVVv8J31TWfcg1smgl2pd6NgpQdrJjwj5YhjU5_bLS/s1600/Numbered+Page+Navigation+For+Blogger+New+Script.png" alt=""/>
</div>
<div class="slide-details">
<h2><a href="#" target="_blank">TITLE-OF-THE-SLIDE 2</a></h2>
<div class="description">
TEXT-OF-THE-SLIDE 2
</div>
</div>
<div class="clear"></div>
</div>
<div class="slide-wrapper">
<div class="slide-thumbnail">
<img 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" alt=""/>
</div>
<div class="slide-details">
<h2><a href="#" target="_blank">TITLE-OF-THE-SLIDE 3</a></h2>
<div class="description">
TEXT-OF-THE-SLIDE 3
</div>
</div>
<div class="clear"></div>
</div>
<div class="slide-wrapper">
<div class="slide-thumbnail">
<img 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" alt=""/>
</div>
<div class="slide-details">
<h2><a href="#" target="_blank">TITLE-OF-THE-SLIDE 4</a></h2>
<div class="description">
TEXT-OF-THE-SLIDE 4
</div>
</div>
<div class="clear"></div>
</div>
<div class="slide-wrapper">
<div class="slide-thumbnail">
<img 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" alt=""/>
</div>
<div class="slide-details">
<h2><a href="#" target="_blank">TITLE-OF-THE-SLIDE 5</a></h2>
<div class="description">
TEXT-OF-THE-SLIDE 5
</div>
</div>
<div class="clear"></div>
</div>
</div>

<div id="myController">
<span class="jFlowPrev">Prev</span>
<span class="jFlowControl">1</span>
<span class="jFlowControl">2</span>
<span class="jFlowControl">3</span>
<span class="jFlowControl">4</span>
<span class="jFlowControl">5</span>
<span class="jFlowNext">Next</span>
</div>
<div class="clear"></div>
</div>

No comments:

Post a Comment