diff --git a/README.md b/README.md index f4a8723..2b66ea0 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ -# ResponsiveSlides.js v1.3 +# ResponsiveSlides.js v1.55 ### Simple & lightweight responsive slider plugin (in 1kb) +[ResponsiveSlides.js](http://responsiveslides.com/) is a tiny jQuery plugin that creates a responsive slider using elements inside a container. It has been used on sites like [Microsoft's Build 2012](http://www.buildwindows.com/launch) and [Gridset App](https://gridsetapp.com). ResponsiveSlides.js works with wide range of browsers including all IE versions from IE6 and up. It also adds CSS max-width support for IE6 and other browsers that don't natively support it. Only dependency is [jQuery](http://jquery.com/) (1.6 and up supported, tested up to 1.8.3) and that all the images are the same size. -[ResponsiveSlides.js](http://responsiveslides.com/) is a tiny jQuery plugin that creates a responsive slider using list items inside <ul>. It works with wide range of browsers including all IE versions from IE6 and up. It also adds CSS max-width support for IE6 and other browsers that don't natively support it. Only dependency is [jQuery](http://jquery.com/) (1.4 and up supported) and that all the images are same size. - -Biggest difference to other responsive slider plugins is the file size (1kb minified and gzipped) + that this one doesn't try to do everything. ResponsiveSlides.js has basically only two different modes: Either it just automatically fades the images, or operates as a responsive image container with pagination and/or navigation to fade between slides. +Biggest difference to other responsive slider plugins is the file size (1.4kb minified and gzipped) + that this one doesn't try to do everything. ResponsiveSlides.js has basically only two different modes: Either it just automatically fades the images, or operates as a responsive image container with pagination and/or navigation to fade between slides. #### Features: * Fully responsive * 1kb minified and gzipped + * CSS3 transitions with JavaScript fallback * Simple markup using unordered list * Settings for transition and timeout durations * Multiple slideshows supported @@ -19,6 +19,7 @@ Biggest difference to other responsive slider plugins is the file size (1kb mini * Separate pagination and next/prev controls * Possibility to choose where the controls append to * Possibility to randomize the order of the slides + * Possibility to use custom markup for pagination * Can be paused while hovering slideshow and/or controls * Images can be wrapped inside links * Optional 'before' and 'after' callbacks @@ -28,9 +29,12 @@ Biggest difference to other responsive slider plugins is the file size (1kb mini Usage Instructions and demo ====== -For instructions and demo go to [http://responsiveslides.com/](http://responsiveslides.com/), or [download this repository as a zip file](https://github.com/viljamis/ResponsiveSlides.js/zipball/master) and and open "index.html" from the "example" folder. There's also a file called "themes.html" inside the "themes" folder which has [more examples about the usage](http://viljamis.com/responsive-slides/themes/). +For instructions and demo go to [http://responsiveslides.com/](http://responsiveslides.com/), or [download this repository as a zip file](https://github.com/arielsalminen/ResponsiveSlides.js/zipball/master) and and open "index.html" from the "example" folder. + +* View [additional usage examples online](http://responsiveslides.com/themes/themes.html). +* View [a demo with captions](http://responsiveslides.com/with-captions/themes.html). -Currently jQuery 1.4 and up is supported. +Currently jQuery 1.6 and up is supported. @@ -39,7 +43,7 @@ License Licensed under the MIT license. -Copyright (c) 2011-2012 Viljami Salminen, http://viljamis.com/ +Copyright (c) 2011-2023 Ariel Salminen, https://arie.ls/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: @@ -52,6 +56,23 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI Changelog ====== + +v1.55 (2016-08-05) - Adds jQuery 3.0 compatibility (thanks to [@Requios](https://github.com/Requios)!). + +v1.54 (2013-04-26) - Fixes few bugs with the before and after callbacks. + +v1.53 (2013-01-14) - Minor speed optimization (thanks [@bazineta](https://github.com/bazineta)!). + +v1.52 (2013-01-07) - Adds option called "manualControls" which allows to write custom markup for pager navigation (thanks to [@andyadams](https://github.com/andyadams)). "controls" option is renamed to "navContainer". Default speed of the transition is now to 500ms. Adds also webkit-backface-visibility: hidden; style for the slides to prevent some HD acceleration issues on mobile WebKit browsers. + +v1.51 (2012-12-15) - Fixes a bug where pictures would not display if next button was clicked too quickly 10 times. + +v1.5 (2012-12-14) - Adds CSS3 transition support with automatic jQuery fallback. + +v1.32 (2012-05-09) - Fixes a bug which caused the slideshow to break in Chrome when changing between active and inactive browser tabs. + +v1.31 (2012-05-02) - Easier to use callbacks (+ optional "active" class for the next/prev buttons when animating slides. If you need this functionality, open the unminified version and search for "Adds active class during slide animation" and remove comments around it). + v1.3 (2012-04-26) - Three new options: "random", "pause", "pauseControls" + small bug fixes. v1.25 (2012-04-19) - No more flashing of unstyled slideshow before JS has loaded. Adds also better support for cases when JavaScript isn't available. @@ -64,7 +85,7 @@ v1.22 (2012-03-27) - Adds callback events which are similar as in [@Wilto](https v1.21 (2012-03-23) - Added two new options: 'nextText' and 'prevText'. -v1.20 (2012-03-21) - New option called 'nav', which enables next and previous buttons. Can be used with 'pagination' and 'auto' options. Adds also new [themes folder](http://viljamis.com/responsive-slides/themes/) with three different ways to use the new next and previous buttons. +v1.20 (2012-03-21) - New option called 'nav', which enables next and previous buttons. Can be used with 'pagination' and 'auto' options. Adds also new [themes folder](http://responsiveslides.com/themes/themes.html) with three different ways to use the new next and previous buttons. v1.10 (2012-03-12) - Refactoring, New markup style, CSS is now separated from the plugin, you can have links around images and other elements inside slides (not just images, but also captions etc.) + New option called "pagination", which enables to choose both "pagination" and "auto" at the same time. Shout outs for the help to [@bgutschke](https://github.com/bgutschke) @@ -77,3 +98,9 @@ v1.03 (2011-12-12) - Code refactoring, smaller size, better performance v1.01 (2011-12-11) - Better usage of styles and the namespace v1.00 (2011-12-04) - Release + + +Want to do a pull request? +====== + +Great! New ideas are more than welcome, but please check the [Pull Request Guidelines](https://github.com/arielsalminen/ResponsiveSlides.js/wiki/Pull-Request-Guidelines) first before doing so. diff --git a/demo/demo.css b/demo/demo.css index c301447..4d6ccd6 100644 --- a/demo/demo.css +++ b/demo/demo.css @@ -4,7 +4,7 @@ } html { - background: #222 url("bg.png") repeat; + background: #222 url("images/bg.png") repeat; } body { @@ -43,7 +43,8 @@ p,h3,h4,pre { margin: 0 auto 40px; } -.rslides2 { +#slider2, +#slider3 { box-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; @@ -206,6 +207,23 @@ h3 { right: 0; } +#slider3-pager a { + display: inline-block; +} + +#slider3-pager img { + float: left; +} + +#slider3-pager .rslides_here a { + background: transparent; + box-shadow: 0 0 0 2px #666; +} + +#slider3-pager a { + padding: 0; +} + @media screen and (max-width: 600px) { h1 { font: 24px/50px "Helvetica Neue", Helvetica, Arial, sans-serif; @@ -213,4 +231,4 @@ h3 { .callbacks_nav { top: 47%; } - } \ No newline at end of file + } diff --git a/demo/demo.html b/demo/demo.html index 837dbcc..bd4ddd7 100644 --- a/demo/demo.html +++ b/demo/demo.html @@ -1,24 +1,25 @@ - + ResponsiveSlides.js · Responsive jQuery slideshow - - - - + + + + + + + +