Closed WhiteCat6142 closed 8 years ago
You could roll your own functions and add them to zepto as plugins.
This gist should work for you: https://gist.github.com/wheresrhys/5823198#file-gistfile1-txt
I'm closing this issue but keeping the following PR open: https://github.com/lokesh/lightbox2/pull/522
For v3 which is still in planning stages I will likely remove all JS deps.
Zepto.js is an alternative to heavy jQuery.However,it doesn't support all jQuery methods,so lightbox2-zepto.js doesn't works.
Here is an error:
TypeError: this.$outerContainer.outerWidth is not a function
(just note: animate() is optional)