S
S
Sergey2018-10-18 16:44:23
JavaScript
Sergey, 2018-10-18 16:44:23

Where can I find examples of the interactive mode of passing the script (scenario)?

Good afternoon! I'm trying to bring to the frontend such flowcharts of steps with a description of sequential actions. I
5bc88e92697ce554989126.png
plan to display them visually convenient for the user. Users will be managers of client centers who answer calls.
Looking for something interactive. I searched the Internet for tests and questionnaires, but they are all with the usual checkbox or radio buttons. And I need an interactive one, so that, depending on the development of the scenario, the corresponding blocks are replaced.
Can you tell me where you can see examples of the implementation of similar functionality?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
X
xmoonlight, 2018-10-18
@xmoonlight

Display the script tree first, and then change its nodes by events.
You can use this: https://github.com/anseki/leader-line

W
Whiteweb, 2015-08-02
@Whiteweb

using div blocks, but you have to sweat

S
sh1ftyshmifty, 2015-08-02
@sh1ftyshmifty

You set the absolute positioning of the blocks and, in fact, that's it.

P
Peter Zubkov, 2015-08-02
@peterzubkoff

Tip of the century: make it look like a picture, set the width in%. Here and adaptability, and no need to steam with canvas (or with some other chimera)

H
holymotion, 2015-08-02
@holymotion

yes, in principle, it’s really possible to do it, you make 6 divs there. The circles where the dashes go, you can cut out to make a picture (dashes) on the border, make it repeat. The background color is transparent. The main div seems to be nothing special. Make inscriptions through for example the same z-index. Well, these lines are already a picture.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question