Let me explain, I m using the code bellow to initiate a slideshow:
target.cycle({
timeout: 0,
before: onBefore,
after: onAfter,
next: target + , #slide-next ,
prev: #slide-prev
})
My only problem is I m having trouble defining the next
parameter which is supposed to take the selector of the slideshow itself; the variable target
and the id of #slide-next
不幸的是,这一法典没有发挥作用,
when I use next: #slide-next ,
the slides transition when I press the
next button, when I use, next: target,
the slides transition when I
click on the slides themselves but when I use next: target + ,#slide-next ,
they transition only when I click on the slideshow and not on the next button.
我如何界定<代码>next?
Thank you!