Smooth Slide Show s3Slider jQuery plugin

Advertisement
Post Pic

This is an awesome jQuery plugin like Jondesign’s Smooth Slideshow v2.1, by looking at the jd’s Smooth Slideshow, the respective author came up with this awesome s3Slider jQuery Plugin. Just we need to make use of the snippets which author has provided and we can proceed further in implementing the same, I would like to recommend all the viewers of my site to have a look and please provide your valuable feedback as well.

s3Slider jQuery Plugin

How to Use:
Its very simple and very easy to implement, Initially we have to include the jQuery Library. jQuery can be downloaded from jQuery’s homepage.

1
2
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/s3Slider.js" type="text/javascript"></script>

HTML Snippet:

1
2
3
4
5
6
7
8
9
10
11
12
13
<div id="s3slider">
   <ul id="s3sliderContent">
      <li class="s3sliderImage">
          <img src="#" />
          <span>Your text comes here</span>
      </li>
      <li class="s3sliderImage">
          <img src="#" />
          <span>Your text comes here</span>
      </li>
      <div class="clear s3sliderImage"></div>
   </ul>
</div>

CSS:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#s3slider {
   width: 400px; /* important to be same as image width */
   height: 300px; /* important to be same as image height */
   position: relative; /* important */
   overflow: hidden; /* important */
}
 
#s3sliderContent {
   width: 400px; /* important to be same as image width or wider */
   position: absolute; /* important */
   top: 0; /* important */
   margin-left: 0; /* important */
}
 
.s3sliderImage {
   float: left; /* important */
   position: relative; /* important */
   display: none; /* important */
}
 
.s3sliderImage span {
   position: absolute; /* important */
   left: 0;
   font: 10px/15px Arial, Helvetica, sans-serif;
   padding: 10px 13px;
   width: 374px;
   background-color: #000;
   filter: alpha(opacity=70); /* here you can set the opacity of box with text */
   -moz-opacity: 0.7; /* here you can set the opacity of box with text */
   -khtml-opacity: 0.7; /* here you can set the opacity of box with text */
   opacity: 0.7; /* here you can set the opacity of box with text */
   color: #fff;
   display: none; /* important */
   top: 0;
 
   /*
       if you put
       top: 0; -> the box with text will be shown at the top of the image
       if you put
       bottom: 0; -> the box with text will be shown at the bottom of the image
   */
}
 
.clear {
   clear: both;
}

To initalize s3Slider, here is the JS code:

1
2
3
4
5
$(document).ready(function() {
   $('#s3slider').s3Slider({
      timeOut: 4000
   });
});

Browser Support:

  • Firefox 2.x (Win)
  • Firefox 3.0.3 (Win/Linux/Mac)
  • Opera 9.6 (Win/Linux)
  • Safari 3.0.3 (Win/Mac)
  • Internet Explorer 6 (Win)
  • Internet Explorer 7 (Win)
  • Google Chrome (Win)

Download:
Full version (with examples) (size: 574kb)
Uncompressed version (size: 4.12kb)
Compressed version (size: 1.66kb)

Live Demo:
If you guys want to see the Live Demo, just go head and have a quick look at it – Live Demo

More Information:
If you would like to know more information about this cool and awesome smooth slide show, please feel free to have a look at this site – s3Slider jQuery plugin

Related Entries...

You Might Like:

Advertisement

Please let us know your feedback about the article through the comments section below, we want to hear from you about our website. And your comment / advice may help us to serve you better in upcoming articles.

Thank You!
Vivekanand [Founder of DeveloperSnippets]

One Response

[...] Smooth Slide Show s3Slider jQuery plugin | developersnippets.com – [...]

Leave Your Response

* Name, Email, Comment are Required

Write For Us

Online Sponsors

Start Foreign Exchange Trading today with the Forex Affiliate Program and also you can have access Online Forex News to know what happens every single moment.


Forex Floor


Switch to our mobile site