Closed Thread Icon

Topic awaiting preservation: Drag and drop (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=7920" title="Pages that link to Topic awaiting preservation: Drag and drop (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Drag and drop <span class="small">(Page 1 of 1)</span>\

 
Osaires
Paranoid (IV) Inmate

From: oslo, Norway
Insane since: Aug 2001

posted posted 11-09-2001 16:38

Ok, i have a damn problem whit a script, the script drags a layer around on the screen if the mouse it down in the layer. but if mouse is down on a image it won't work, somone know how to fix it?

insted of draging the image itt's showing the ilegal mouse icon!

and how can i detect a mouse down event in NN 4.0?


Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 11-09-2001 16:48

Make sure your mousedown, mouseup, and mousemove events are returning false. Plus, in browsers with good DOMs, call event.CancelBubble() at the end of the functions.

Osaires
Paranoid (IV) Inmate

From: oslo, Norway
Insane since: Aug 2001

posted posted 11-09-2001 16:54

Thanks slime. it works.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 11-09-2001 16:55

Really? That's weird, I usually have to fiddle with the return values and event functions for half an hour or so before I get it working; I expected you to come back asking me why what I said didn't work. =)

Osaires
Paranoid (IV) Inmate

From: oslo, Norway
Insane since: Aug 2001

posted posted 11-09-2001 17:34

hehe, it must be you damn god explaining. thanks again

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 11-10-2001 10:14

Yeah, I'm jealous too! I also plan on at least a half hour of fiddling to get things right, hrmph. Glad that worked for you! (Good Slime!)

Your pal, -doc-



[This message has been edited by DocOzone (edited 11-10-2001).]

« BackwardsOnwards »

Show Forum Drop Down Menu