malsup / cycle2

2nd gen cycling
898 stars 237 forks source link

Cycle2 prev/next function not working for me #863

Open daniellegottesman opened 2 years ago

daniellegottesman commented 2 years ago

Hi!

I am very much a beginner, so please bear with me–

I am trying to add prev/next controls to my cycle2 slideshow, but when I follow the instructions on the Cycle2 page it simply does not work (I am trying the "simple"/first option on this page -- https://jquery.malsup.com/cycle2/demo/prevnext.php). The basic slideshow only seems to work if I remove the "data-cycle-timeout=0", and the prev/next controls still don't work.

Is there a jQuery step that was not referenced on the website because it is obvious to more advanced coders? Or are the instructions lacking/outdated?

This is the page I am working on: http://www.danielle-gottesman.com/works_elevations_photo_test.html

I would really appreciate your help!

Many thanks,

Danielle

iam-sysop commented 2 years ago

I have a couple slideshows I have here in source code that use previous/next feature -- I will try to upload code snippets shortly that might help.

On Mon, Aug 15, 2022 at 8:20 PM daniellegottesman @.***> wrote:

Hi!

I am very much a beginner, so please bear with me–

I am trying to add prev/next controls to my cycle2 slideshow, but when I follow the instructions on the Cycle2 page it simply does not work (I am trying the "simple"/first option on this page -- https://jquery.malsup.com/cycle2/demo/prevnext.php). The basic slideshow only seems to work if I remove the "data-cycle-timeout=0", and the prev/next controls still don't work.

Is there a jQuery step that was not referenced on the website because it is obvious to more advanced coders? Or are the instructions lacking/outdated?

This is the page I am working on: http://www.danielle-gottesman.com/works_elevations_photo_test.html

I would really appreciate your help!

Many thanks,

Danielle

— Reply to this email directly, view it on GitHub https://github.com/malsup/cycle2/issues/863, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXWENXELD7JQXWITKJ4AN3VZLUG7ANCNFSM56T75TDA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

daniellegottesman commented 2 years ago

Are the snippets you mentioned updates to the code shown on the official cycle2 page? I'm still not sure whether the prev/next controls aren't working because I made a mistake or if the instructions on the cycle2 page are simply outdated.

iam-sysop commented 2 years ago

Sorry I didn't make it back last night -- I will post some code samples here in this thread when I get back near my desk

On Tue, Aug 16, 2022 at 10:53 AM DaniG @.***> wrote:

Are the snippets you mentioned updates to the code shown on the official cycle2 page? I'm still not sure whether the prev/next controls aren't working because I made a mistake or if the instructions on the cycle2 page are simply outdated.

— Reply to this email directly, view it on GitHub https://github.com/malsup/cycle2/issues/863#issuecomment-1216828746, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXWENUHCCSOZWT6A4PE3G3VZO2Q7ANCNFSM56T75TDA . You are receiving this because you commented.Message ID: @.***>