Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Drag and Drop

Advisor ,
Nov 28, 2017 Nov 28, 2017

In Captivate 9 - is it possible to create a drag and drop where the object you drag is only movable along a specified path or perhaps within a specified region?

I want to have a "selector switch" - like a dial - where you drag the selector to various points along the path which, in turn, performs a different function based on the drop location.

I have it working just fine with the exception that you can drag the knob all over the screen before dropping it. LOL

602
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Nov 28, 2017 Nov 28, 2017

That functionality is not built in Drag&Drop. Maybe you could launch a feature request, but have to warn you that this is the first time I see such a request appearing on this forum (may have missed them, but I normally read every question).

You can control moving along a path, but not with Drag&Drop. Here is an example:

Board Game

Translate
LEGEND ,
Nov 28, 2017 Nov 28, 2017

That functionality is not built in Drag&Drop. Maybe you could launch a feature request, but have to warn you that this is the first time I see such a request appearing on this forum (may have missed them, but I normally read every question).

You can control moving along a path, but not with Drag&Drop. Here is an example:

Board Game

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Nov 28, 2017 Nov 28, 2017

Bummer, I can just use buttons to make the selector switch snap to the desired locations but I thought it would be a much more polished and professional looking interaction if folks could drag it there.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 28, 2017 Nov 28, 2017

With SWF output there were a lot of awesome widgets that could have helped, however with the present imposed push to HTML5 those good old days are over. You could try to create a HTML5 animation, use JavaScript to communicate with Captivate to realize your goal. Just within Captivate it is not possible.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Nov 28, 2017 Nov 28, 2017
LATEST

Not sure how comfortable you are with javascript but you could import an HTML5 animation and use the interactjs.io library.  They have restricted drag and drop movement.  The website is http://interactjs.io/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources