JavaScript Web Application with Drag and Drop - Easy to do?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

JavaScript Web Application with Drag and Drop - Easy to do?

From: David Smithz <dave1900@blueyonder.co.uk>
Date: Tue Feb 28 2006 - 11:28:59 CET

Hi there,

I have been asked how easy it would be to develop a web application where by
I have a number of images on the left of the screen that could be dragged
and dropped onto a map on the centre of the screen and the position of where
the dragged item was dropped stored.

For example, imagine a game type puzzle which has a picture (cartoonish) of
a map of the world.
On the left hand side there are a number of flags - say 10. The user can
drag all the flags and place them on the screen. They are also able to
change their minds while doing this. Therefore as they move the flags
around, there is not actually interaction with the server - client side
only. When the user lifts the left mouse button the flag is dropped at its
current position.
Eventually the user presses the submit button when they are happy they have
matched the flags to the country positions and the data (where the flags are
position etc.) is sent to the server for processing.

Does that make more sense?

Does anyone have any examples of similar functionality that they have
developed?
Is this the sort of thing that (assuming a bit of JavaScript experience) one
could produce a demo of in say a day?

Thanks for any input on this matter.

Kind regards

Dave.
Received on Mon May 1 03:40:58 2006