javascript - Cycle2 Next/Prev issues with AutoHeight -
i using cycle2 in site im working on. cms , using jquery 1.6.4 go posed problem - got taken care of .on/.bind hack cycle2 core. unfortunately cannot update jquery @ moment.
the slideshow working fine after hack - next , prev buttons work should , thumbnail navigation works fine well.
the issue: of our images taller rest , slideshow taller images cut off @ bottom. integrated data-cycle-auto-height="container" built in cycle2. beautiful works. click on taller image thumbnail , image slideshow auto adjusts current image's height. but, data-cycle-auto-height="container" height running, can no longer use next/prev buttons. clickable , hover effect still works, once clicked nothing happens. if go ahead , remove data-cycle-auto-height="container" slideshow div, began function again. looked in console , not throwing additional errors - error in console uncaught typeerror: $(...).on not function(…) getting get-go, jquery 1.6 , cycle2 compatibility issue still.
here start of slideshow div:
<div class="cycle-slideshow" data-cycle-timeout="0" data-cycle-manual-fx="fade" data-cycle-pager="#no-template-pager" data-cycle-prev="#tst-prod-prev" data-cycle-next="#tst-prod-next" data-cycle-loader="wait" data-cycle-auto-height="container" data-cycle-pager-template="" data-cycle-tmpl-regex="\[\[((\.)?.*?)\]\]" data-cycle-caption="#tst-custom-caption" data-cycle-caption-template=[[title]] >
any thoughts on can causing issue?
fixed it. more tweaks in cycle2 core - .on -> .bind. again, hack jquery version before 1.7.
Comments
Post a Comment