Reputation: 2893
I want to be able to disable(not clickable) "Next" button when it is showing the last image in colorbox so that it won't go back to the first image.
Same thing for "Previous" button.
Is there a way to do that?
Upvotes: 0
Views: 637
Reputation: 30015
In your colorbox settings set loop
to false
http://www.jacklmoore.com/colorbox check the loop feature on this page.
Upvotes: 2