Fo a project that I'm working on, I need a prescroll callback. That is, I need the jcarousel to allow me to call a function right before it scrolls.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mrmikedewolf’s picture

here is a patch that adds this.

mrmikedewolf’s picture

New patch that doesn't touch the minified js. Patches to minified js can't be patched in the future because it is all on one line. Seems the only solution is to minify the js yourself and not track it in version control.

mrmikedewolf’s picture

If any one knows of a more elegant workaround to the minification issue, I would love to hear it. There's always something to learn.

Until then here is an option to minify once applying the patch.

jscompress.com/