Drag and drop into text
Maintained by
Tim Hunt, Mahmoud Kassaei, Chris Nelson, Jamie Pratt, Phil Butcher
A drag and drop question type where missing words have to be dragged into gaps in a paragraph of text.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
I can do this on mobile phone browser???
"Instead of dragging answers into gaps, the answer will be clicked to select and then a gap will be clicked to drop into"
I cannot drag from my mobile it is scrolling the screen when trying to drag.
I think there is a race-condition between D'n'D javascript and MathJAX javascript.
I had a glance at ddwtos.js. There is a method "initializer" which calls "set_padding_sizes_all()".
My guess is, that, if LaTeX would be rendered before this method is called, everything should work fine.
Could anyone assist me here? I think this could be helpful for everyone developing mathematical/technical content!
Yours sincerly Achim
If we want to implement this behavior into the "drag and drop text questions" ourselves, where in the source code would be the appropriate place?
I could imagine to program my own question type "Drag Drop LATeX", which inherits from the existing D'n'D classes, but implements Javascript for MathJAX.
I am very grateful for any information.
Yours sincerely Achim
Is there an upgrade to 3+ foreseen?
Thank you!
--
MC
In fact I've managed to include "blank answers" assigning the html code   to one of the items. It renders a blank square that can be dragged and dropped.