special drop down behaviour
Submitted by thore on Mon, 02/25/2019 - 16:01
Forums:
Hi,
I’d like to a particular behaviour of drop boxes.
I have 2 drop down boxes placed on a background image.
Drop downs have the same options:
say:
- London
- Paris
- New York
- Boston
New York and Boston are so to speak „connected“. That means, if
somebody choose „New York“ in the drop down 1 it should be no longer
an option in drop down 2 and vice versa. Same goes for „Boston“.
The reacts according to the users choice…
Can that be done with h5p ?
Best,
Thore
BV52
Tue, 02/26/2019 - 03:50
Permalink
Hi Thore,I'm not sure I
Hi Thore,
I'm not sure I follow which content type are you using?
If you are pertaining to Drag and Drop, this should be possible. By default the draggables can only be used once not unless you change it's setting to be dropped multiple times.
-BV52
thore
Tue, 02/26/2019 - 13:39
Permalink
thanks for this ...
... makes sense... in order to let a drop down react on changes of other drop downs there need to be a special Javascript coding.
Do you have examples of drop downs set to be dropped multiple times....?
BV52
Wed, 02/27/2019 - 03:45
Permalink
Hi thore,Here's a simple Drag
Hi thore,
Here's a simple Drag and Drop that has draggables set to be dropped multiple times.
Specifically for your use case having the draggables "react on changes" this is not possible yet and you care correct there needs to be some changes to the code for this to happen.
-BV52