Drag and drop elements ?

N

Neven Klofutar

Hi,

I would like to create something like a "puzzle control" that could use drag
and drop technique to put together the "whole picture".
I would like to set some fixed areas on the page so when I drag and drop an
item near the area, the item should auto dock into that area.

I'm thinking of using DreamWeaver layers (DIV tags with positions set via
CSS). I could read X i Y coordinates of mouse pointers when I release mouse
button via Javascript and I could use CSS to "dock" layer in predifined
area. I could theoreticaly use __doPostBack() in order to do some server
side manipulation afterwards.

Is there a more profund way to acomplish this ? Can I use some other
elements to drag them on the page and dock them in some predefined areas ?
Has someone already acomplished something similar ?

Any sugestion anyone ?

thanx, Neven
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top