Skip to content

Conversation

@michaeldewolf85
Copy link

I needed to be able to modify the lightbox options but I didn't want to have to modify the source.

As a change I moved the options out of the anonymous function scope to make them globally accessible. I can now override them in my app.

I also needed an autorotate feature.

I consolidated the next and prev logic into two new prototype functions, next() and prev() and replaced them in several places. I also add a prototypal autoSlide function that operates on a timer, and then cancels itself on any input from the user (i.e. click, keypress).

Let me know what you think. Thanks for the awesome library!

@lokesh lokesh force-pushed the master branch 3 times, most recently from de83cee to c1c0f87 Compare June 16, 2015 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants