Jon,
How do you generate the image at tme moment? is it a database? If so, how
about using an UPDATE statement and having an edit button next to each
one. I know its not strictly drag and drop, but at least you won't have to
cancel it...
IFAIK, you would have to embed an ActiveX control (if
I can't recall where this code came from, but this allows any HTML element
that is given the Class=Drag to be dragged around the page:
HTH, Adam
html
head
style
.drag {position:relative;cursor:hand }
/style
script language=JavaScript1.2
var dragapproved=false
var z,x,y
function
Hi Matt,
How do you generate the image at tme moment? does it come
from a database?
It's a table, not an image (the link I posted is just a screenshot)... but
it does come from a database, yes.
If so, how about using an UPDATE statement and having an
edit button next to each one.
At the
Hi Adam,
this allows any HTML element that is given the Class=Drag
to be dragged around the page:
[...]
This looks promising, thanks very much!
I'll give it a go and let you guys know what I can come up with - don't let
that stop you posting if you have any other solutions, though ;-)
Cheers
Hi Ben,
I think it can be done.
It's definitely an itch that feels *very* scratchable.
I know the dragging bit can... but not 100% sure aboitu
tracking what element the mouse is over if you're already
dragging something.
All I need to track is the PK of the booking record that's
let me have a play and i'll get back to you.
Quoting Jon Haworth [EMAIL PROTECTED]:
Hi Ben,
I think it can be done.
It's definitely an itch that feels *very* scratchable.
I know the dragging bit can... but not 100% sure aboitu
tracking what element the mouse is over if you're
You could make the whole thing a grid/table (if it isn't already) and use DD
to move an image about, then pick up where it was last hovering when dropped.
I think it can be done. I know the dragging bit can... but not 100% sure
aboitu tracking what element the mouse is over if you're already