This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README.markdown | Sat Mar 28 14:57:40 -0700 2009 | |
| |
demo/ | Sat Mar 28 14:44:22 -0700 2009 | |
| |
jquery.wideslide.js | Tue Mar 31 11:20:32 -0700 2009 |
README.markdown
Wideslide: jQuery slideshow plugin
By Andrey Petrov and Ryan Feeley
Want to display an inline slideshow of images of a fixed size on your webpage? Usually this requires cropping your images to a uniform dimension. But now with Wideslide you can retain the original image ratio.
Wideslide Javascript for the header
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="jquery.wideslide.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.wideslide').wideslide({
width: 710, // Width of the container
height: 244, // Height of the container
max_width: 10000, // Any number greater than the sum of all images' widths
speed: 800, // Speed of the switching animation
timer: 4000 // Timer in milliseconds for auto-play (0 = off)
});
});
</script>
Wideslide HTML for the body
The contents of the jQuery-selected class in the Javascript header will be replaced with the slideshow interface. In this case, the class is wideslide.
<ul class="wideslide">
<li><img src="image1.jpg" width="374" height="240" /></li>
<li><img src="image5.jpg" width="320" height="240" /></li>
<li><img src="image2.jpg" width="320" height="240" /></li>
<li><img src="image6.jpg" width="320" height="240" /></li>
<li><img src="image4.jpg" width="320" height="240" /></li>
<li><img src="image8.jpg" width="240" height="240" /></li>
<li><img src="image3.jpg" width="240" height="240" /></li>
<li><img src="image7.jpg" width="320" height="240" /></li>
</ul>
Demo
Try it!
Download
Use it!







