문제

I'm having a problem with a particular J-carousel on a page I've built.

I have managed to get other Jcarousels to work on the same page, but this particular one is having a problem scrolling:

When you click the next button it will move 1 slide forward, then 1 slide back, then 2 slides forward, 2 slides back, etc etc.

I have looked over and over at all my variable names, compared the setup. recreated it! But I just can't seem to figure out what I'm doing wrong!

Please could someone help me get this sorted?

The code is generated using PHP and is a bit messy.

Thanks, Brian

도움이 되었습니까?

해결책

It turns out the reason for the erratic scrolling was because I had placed a script tag after each list item so jcarousel was trying to scroll to the non-visual script tag

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top