cycle2 icon indicating copy to clipboard operation
cycle2 copied to clipboard

Catastrophic failure

Open julianeden opened this issue 11 years ago • 4 comments

I must be doing everything wrong, even though I was following the demos to the letter.

I'm just trying to make a single-column vertical carousel that displays 5 images, but instead I'm getting 5 columns of 1 image each which all vanish after a few seconds.

Please instruct, I've spent all morning on this.

http://codepen.io/anon/pen/yDwvJ

julianeden avatar Apr 04 '14 17:04 julianeden

Duplicating the source of the demo page, I tried this and got a different sort of failure...

http://codepen.io/anon/pen/FfIcm/

julianeden avatar Apr 04 '14 17:04 julianeden

Vertical carousel example:

http://jquery.malsup.com/cycle2/demo/caro-vert.html

malsup avatar Apr 04 '14 19:04 malsup

Thanks so much....I didn't realize you needed to style the slides and container. You should make a note of that!

julianeden avatar Apr 04 '14 19:04 julianeden

To make it work with our AMD loading system, I added the carousel transition into Cycle2's normal transitions list, and just added the other bit to the end. It works perfectly except for prev/next...as buttons they have no cycle-prev/cycle-next events attached, and as commands they come up as unknown. Any ideas?

julianeden avatar Apr 10 '14 15:04 julianeden