Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dragging within a range of sequence #323

Open
zeos opened this issue Oct 22, 2016 · 0 comments
Open

Dragging within a range of sequence #323

zeos opened this issue Oct 22, 2016 · 0 comments

Comments

@zeos
Copy link

zeos commented Oct 22, 2016

What an amazing piece of software! Thank you!
A quick question about dragging [forward/backward] within a range of sequence? I set the frame and frames, but when I drag left/right it goes beyond the range? I have a long sequence and I want to switch the ranges based on annotations (I just hooked a Click event to set different ranges - frame/frames). What would you suggest as an approach to achieve such behavior? Thank you for your time developing it and for answering.

here my setup:

$('#image').reel(
            {
                    annotations:    hotSpots,
                    brake:          0.4,
                    speed:          0,
                    cursor:         'hand',
                    frame:          1,
                    frames:         30, //here I want to manipulate only 30 of them
                    loops:          false,
                    directional:    true,
                    responsive:     true, 
                    draggable:      true,
                    wheelable:      false,
                    throwable:      false, //didn't understand what is doing this option
                    cw:             false, 

                    images:         "###.jpg|001..123" //yes, there are in total 123 images

            });

            $('#hotSpot1').on('click', function() { changeReelRange(30, 60)});

best,
Zeos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant