PDA

View Full Version : Drag / drop with an image


Algorithm
08-11-2002, 07:58 AM
I'm attempting to implement some basic drag/drop code into a DIV containing an image. I'm currently only testing in IE 5.5, but I've already run into problems.

Whenever I try to drag my mouse while on the image, the cursor becomes a "No Access" symbol until I release my mouse, and then the mouseup event doesn't fire. Is there any way to suppress this sort of thing?

TIA

premshree
08-11-2002, 03:02 PM
See for such a script at :
http://www.scriptasylum.com

x_goose_x
08-11-2002, 11:19 PM
<img src="file.jpg" onmousemove="return false;">

IE ONLY. If you already have mousemove items add the return at the end.

ie:

<img src="file.jpg" onmousemove="doThis(); window.open('mypage.htm'); return false;">