Drag and Drop question layers

tbanninga2873
Community Member Posts: 22
Hi
I am trying to create a 'game' where the user will choose from a main stack of cards and divide them up into two answers stacks. I got the logic to work just fine with the drag and drop question in Lectora, but I would like to have the last card you select to be on top of the pile. So when you select and drag the card from the main stack to one of the answer piles, this card will then be on the top of the pile. Can anyone think of a way to do this? I don't see any way I can change the layering..
I hope that made sense...
Thanks
Tanya
I am trying to create a 'game' where the user will choose from a main stack of cards and divide them up into two answers stacks. I got the logic to work just fine with the drag and drop question in Lectora, but I would like to have the last card you select to be on top of the pile. So when you select and drag the card from the main stack to one of the answer piles, this card will then be on the top of the pile. Can anyone think of a way to do this? I don't see any way I can change the layering..
I hope that made sense...
Thanks
Tanya
Comments
-
Hi Tanya,
When i read this, i am not sure whats the problem. Aint the standard behaviour sufficient ? Does the last chosen element stay at top always... a sample would help... ;-)
If not several options might help. Javascript and z-index come to mind first... and if you want to stay away from JS then you need to find a way to show the chosen card on top after a drop. I think a group with all cards...making sure they are on top...and after a drop always show only the last dropped card in that group might work.
Kind regards,
Math -
-
-
Hi Tanya,
I mocked up a sample of it here.
https://community.trivantis.com/shared-content/dragdrop-wit-z-index/
Kind regards,
Math
Categories
- 4.8K All Categories
- 6 New Feature Releases
- The Training Arcade®
- Arcades™
- 125 ✫ Announcements
- 9 ✪ Contests
- 34.1K eLearning Brothers® Products
- 33.6K Lectora®
- 31.6K Lectora Discussions
- 1.9K Lectora Feature Requests
- 71 Lectora User Groups
- 17 Asset Library
- 10 AssetLibrary Discussions
- 7 AssetLibrary Feature Requests
- 304 CenarioVR®
- 178 CenarioVR Discussions
- 126 CenarioVR Feature Requests
- 40 Rockstar Learning Platform®
- 28 Rockstar Learning Platform Discussions
- 12 Rockstar Learning Platform Feature Requests
- 4 Off-the-Shelf Course Library
- 3 Off-the-Shelf Course Library Discussions
- 1 Off-the-Shelf Course Library Feature Requests
- 114 CourseMill®
- 107 CourseMill Discussions
- 44 ReviewLink®
- 32 ReviewLink Discussions
- 12 ReviewLink Suggestions
- 2 The Training Arcade®
- 1 The Training Arcade Discussions
- 1 The Training Arcade Feature Requests
- 10 Additional Learning Products
- 2 Adobe®
- 4 Articulate®
- 2 Camtasia®
- Docebo®
- 1 iSpring®
- 1 Microsoft® PowerPoint®
- 932 All Things eLearning
- 5 Course Development Showcase
- 1 eLearning Brothers® Downloads
- 1 Compliance Training
- 11 eLearning Development
- eLearning Game Design
- 7 Instructional Design
- 545 Learning Management System (LMS) Integration
- 3 Mobile Learning
- 22 Visual Design
- 331 Web Accessibility
- 1.2K ♪ The Green Room
- 8 ♡ Community Feedback
- 7 Community Tips