Don't rely on MS only characteristics.
They are here today. They are gone tommorrow.
---------------------------------------
>Don't rely on MS only characteristics.
>
>They are here today. They are gone tommorrow.
Actually tested the code across a number of browsers. I can setup drag and drop
so a selected item moves around a web page on different web browsers (e.g. FF,
Safari, IE). If the non-MS browsers are able to drag an item around a web page
just as IE does, it would seem useless to have that available unless javascript
had the "onDrop" functionality to trigger something when the drag is done.
Maybe I'm taking the wrong approach to this. Anyone heard of a way to simulate
drag and drop, maybe with a combination of onMouse... events, that can be used
as an alternative. Certainly wouldn't want to limit its usefulness to IE.
Thanks,
Rich
--
Newsguy -- http://newsguy.com
>---------------------------------------
>
[quoted text clipped - 31 lines]
>> --
>> Newsguy -- http://newsguy.com
RobG - 30 Sep 2005 02:00 GMT
>>Don't rely on MS only characteristics.
>>
[quoted text clipped - 5 lines]
> just as IE does, it would seem useless to have that available unless javascript
> had the "onDrop" functionality to trigger something when the drag is done.
I think you mean that the DOM should have a 'drop' event. But anyway,
it doesn't. I guess ondrop has been implemented by some browser vendors
in order to provide that functionality, but non-standards stuff is
generally more inconsistent than standards-based stuff (innerHTML
springs to mind).
DOM 2 events:
<URL:http://www.w3.org/TR/DOM-Level-2-Events/events.html>
DOM 3 events:
<URL:http://www.w3.org/TR/DOM-Level-3-Events/events.html>
> Maybe I'm taking the wrong approach to this. Anyone heard of a way to simulate
> drag and drop, maybe with a combination of onMouse... events, that can be used
> as an alternative. Certainly wouldn't want to limit its usefulness to IE.
Yes, using a combination of other events. There is some stuff at the
link below that may be useful:
<URL:http://www.walterzorn.com/dragdrop/dragdrop_e.htm>
[...]

Signature
Rob
commercial said the following on 9/29/2005 4:11 AM:
> Don't rely on MS only characteristics.
Half true.
> They are here today. They are gone tommorrow.
Totally false.

Signature
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly