I have a page with images that the user can drag from one frame to
another. I need them to see a "ghost image" of the image they are
dragging, while the original stays put. I use the onmousemove event
to keep the ghost image under the mouse pointer. There are three
problems:
(1) if the ghost image is dragged so it is partially off the edge of
the screen, scrollbars appear. This not only looks bad, it can cause
the page to autoscroll on IE, which means the image moves further,
which means the page scrolls more, which means... so I need the image
to be ignored for the purposes of working out how large the page is.
Is this possible?
(2) the ghost image should be directly underneath the mouse pointer,
but then it blocks events that should go to objects underneath it (the
objects the user is trying to drop it on). Moving it to one side
doesn't really help if the user moves the mouse quickly. I need the
ghost image to be ignored for event purposes. Is this possible?
(3) when the ghost image spans two frames (I use multiple ghost
images, actually), the frame border appears on top of it. I suspect
it is not possible to work around this ;-)
Thanks in advance for any help.
roger
another. I need them to see a "ghost image" of the image they are
dragging, while the original stays put. I use the onmousemove event
to keep the ghost image under the mouse pointer. There are three
problems:
(1) if the ghost image is dragged so it is partially off the edge of
the screen, scrollbars appear. This not only looks bad, it can cause
the page to autoscroll on IE, which means the image moves further,
which means the page scrolls more, which means... so I need the image
to be ignored for the purposes of working out how large the page is.
Is this possible?
(2) the ghost image should be directly underneath the mouse pointer,
but then it blocks events that should go to objects underneath it (the
objects the user is trying to drop it on). Moving it to one side
doesn't really help if the user moves the mouse quickly. I need the
ghost image to be ignored for event purposes. Is this possible?
(3) when the ghost image spans two frames (I use multiple ghost
images, actually), the frame border appears on top of it. I suspect
it is not possible to work around this ;-)
Thanks in advance for any help.
roger
Comment