- Posts: 72
- Thank you received: 10
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Drag and Drop objects, save X Y coordinates, calculate distance between objects
- SurveyDennis
- Topic Author
- Offline
- Senior Member
Less
More
9 years 3 months ago #116029
by SurveyDennis
Be SurveyFriendly too! Fight against boring surveys! www.SurveyFriendly.com
Drag and Drop objects, save X Y coordinates, calculate distance between objects was created by SurveyDennis
Not sure where to post this, but just thought it could be useful for somebody.
I have looked for a solution to drag and drop objects and how to save the coordinates of those dropped objects.
With some jQuery and other snippets/ideas/help from the LS forum I have a working example.
You can also download the lss if you like at the bottom of the post.
Blog post
@Moderator: please forgive me if this is not the right place.
I have looked for a solution to drag and drop objects and how to save the coordinates of those dropped objects.
With some jQuery and other snippets/ideas/help from the LS forum I have a working example.
You can also download the lss if you like at the bottom of the post.
Blog post
@Moderator: please forgive me if this is not the right place.
Be SurveyFriendly too! Fight against boring surveys! www.SurveyFriendly.com
The following user(s) said Thank You: holch, stefanverweij
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11637
- Thank you received: 2737
9 years 3 months ago #116030
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Drag and Drop objects, save X Y coordinates, calculate distance between objects
Not sure if this is the best place, but it is not the worst. So I guess I would leave it here.
Ideally this would appear in the manual under "Workarounds". Because often external sources change and the information gets lost.
By the way: I like you blog, very interesting. Had visited various times before.
Ideally this would appear in the manual under "Workarounds". Because often external sources change and the information gets lost.
By the way: I like you blog, very interesting. Had visited various times before.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- SurveyDennis
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 72
- Thank you received: 10
9 years 3 months ago #116043
by SurveyDennis
Be SurveyFriendly too! Fight against boring surveys! www.SurveyFriendly.com
Replied by SurveyDennis on topic Drag and Drop objects, save X Y coordinates, calculate distance between objects
Much appreciated, thanks!
Be SurveyFriendly too! Fight against boring surveys! www.SurveyFriendly.com
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
9 years 3 months ago #116084
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Drag and Drop objects, save X Y coordinates, calculate distance between objects
Thanks for sharing your solution!
Out of curiosity: Is it possible to add axes to the drag and drop area and have e.g. a smaller circle as only element?
That way one could save coordinates e.g. for a price/importance question like "How important is feature X for you and how much would you spent for it?".
There are many other examples of how to use such a two axis feature.
Out of curiosity: Is it possible to add axes to the drag and drop area and have e.g. a smaller circle as only element?
That way one could save coordinates e.g. for a price/importance question like "How important is feature X for you and how much would you spent for it?".
There are many other examples of how to use such a two axis feature.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- SurveyDennis
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 72
- Thank you received: 10
9 years 3 months ago #116088
by SurveyDennis
Be SurveyFriendly too! Fight against boring surveys! www.SurveyFriendly.com
Replied by SurveyDennis on topic Drag and Drop objects, save X Y coordinates, calculate distance between objects
Yes I think this could be done without too much work.
The background image from this dropzone div could have something displaying that.
Or making another div block around the dropzone div with such a background.
When I have some more time I could create an example.
The background image from this dropzone div could have something displaying that.
Or making another div block around the dropzone div with such a background.
When I have some more time I could create an example.
Be SurveyFriendly too! Fight against boring surveys! www.SurveyFriendly.com
The topic has been locked.