![]() Preserved Topic: How do you Stop IE from Selecting Images on Drag ? (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
![]() I found a tutorial on Alchemy but ain't working for me |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() It's an annoying combination of returning false from some event handlers, and true from some others. I forget, to be honest. I usually just fiddle with return values until IE ignores clicks and drags. |
Nervous Wreck (II) Inmate From: |
![]() well i almost got it right.... |
Maniac (V) Mad Scientist From: New California |
![]() Ultra, do you have a link so we can see it in action? |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
![]() This one is always a monster pain in the ass, but basically the trick I use is to create an "onmousedown=StartE;" rule, where the StartE() function sets a couple needed variables and then ends with a "return false;". I know there's probably a more proper and elegant way to handle this, but this will work in most browsers you need to worry about. Careful, if you put too much logic in this function before you trigger the 'return false', then the drag & drop functionality might have time to trigger, and you'll be bumming. |
Nervous Wreck (II) Inmate From: |
![]() quote:
|
Nervous Wreck (II) Inmate From: |
![]() Bugimus thanx for the email |