i'm using jquery carousel plugin no documentation , lazy load xt (https://github.com/ressio/lazy-load-xt).
by default, lazy load xt loads images on following events: load orientationchange resize scroll.
i'd carousel plugin lazy load images when switchslide method called, having trouble implementing it.
the 2 ideas had in approaching issue are:
- manually initialize lazy load xt each time
switchslidemethod called carousel. - somehow pass custom event carousel plugin lazy load xt
updateeventoption
questions
- is possible call external method / initialize plugin (e.g, lazy load xt) inside plugin?
- is possible call lazy load xt within carousel plugin's
switchslidemethod force images display? if so, how? - is possible pass custom event carousel plugin lazy load xt
updateeventoption? if so, how?
carousel plugin code
http://jsfiddle.net/amc/vfekeyey/
any or advice appreciated.
thanks!
Comments
Post a Comment