Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes for issues #681 and #728 #735

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
## Getting Started
Download either the [production version][min] or the [development version][max] of Cycle2.

[min]: http://malsup.github.com/min/jquery.cycle2.min.js
[max]: http://malsup.github.com/jquery.cycle2.js
[min]: build/jquery.cycle2.min.js
[max]: build/jquery.cycle2.js

In your web page:

Expand All @@ -25,13 +25,30 @@ In your web page:
</pre>
That's it! You don't need to write any script to initialize the slideshow, Cycle2 will auto-initialize if you use the class <code>cycle-slideshow</code>.


This version of jquery cycle allows one to embed multiple slideshows with navigations on the page, without requiring custom JS to be written for each slideshow. The code below will render a slideshow and the navigation within the `slideshow__container` that applies only to that specific slideshow, no matter how many times it is inserted on the page.

```
<div class="slideshow__container">
<div class="slideshow cycle-slideshow" data-cycle-slides="> .slide" data-cycle-pager=".slideshow__navigation">
<div class="slide"></div>
<div class="slide"></div>
</div>
<div class="slideshow__navigation">
<span class="slideshow__prev"></span>
<span class="slideshow__next"></span>
</div>
</div>
```


## Documentation, Demos, Downloads and FAQ
Everything you need to know can be found here:
Everything you need to know can be found here:
[http://jquery.malsup.com/cycle2/](http://jquery.malsup.com/cycle2/)

## Bower
To install Cycle2 via Bower:
<pre>bower install jquery-cycle2</pre>
<pre>bower install jquery-cycle2-patched</pre>
The only file you will need (unless you're customizing) is <code>build/jquery.cycle2.min.js</code>

(Other files are available for advanced customization and you can read more about them on the [download]
Expand Down
8 changes: 4 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "jquery-cycle2",
"version": "2.1.6",
"homepage": "https://github.com/malsup/cycle2",
"name": "jquery-cycle2-patched",
"version": "2.1.7",
"homepage": "https://github.com/dnlomnimedia/cycle2",
"authors": [
"malsup <malsup@gmail.com>"
"malsup <info@dnlomnimedia.com>"
],
"description": "jQuery plugin for kickass slideshows",
"main": "build/jquery.cycle2.js",
Expand Down
4 changes: 2 additions & 2 deletions build/core/jquery.cycle2.autoheight.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/core/jquery.cycle2.caption.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/core/jquery.cycle2.command.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading