HighDots Forums  

Re: ondblclick

Javascript (German) Programmiersprache JavaScript. (de.comp.lang.javascript)


Discuss Re: ondblclick in the Javascript (German) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Thomas 'PointedEars' Lahn
 
Posts: n/a

Default Re: ondblclick - 09-23-2003 , 07:42 AM






J. Strübig wrote:

Quote:
Ich verusch grad eine Lib für mouseevents zu kreieren und bin
dabei auf ein Problem gestossen. Und zwar scheint MZ (1.4) ein
Problem mit ondblclick zu haben. Wenn man diesen per Skript
einbauen will reagiert er nicht, im gegensatz zu OP 7.11 und IE 6.0.
In welchem (Level des) W3C- und/oder Gecko-DOM ist ondblclick (writeable)
definiert? Richtig, in gar keinem. Das ist eine Microsoft-Erfindung (für
Windows-User), die Opera kennt, weil er sich als IE ausgeben können muss:

,---------<http://www.mozilla.org/docs/dom/domref/dom_el_ref.html>--------
Quote:
Event Handlers

These element properties cannot be assigned to in the way that the event
handlers on the document and window objects can. All of the folllowing
event handler properties are read-only, and are made to return the event
handling code, if any, that has already been added to the element in the
HTML or XML itself.

[...]
ondblclick [...]
und

<http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-MouseEvent>
/mouse events

Micro$~1 verbreitet da übrigens wieder einmal unvollständige Information,
denn dass der Event-Handler in HTML existiert, heisst noch lange nicht,
dass er mittels einem DOM manipulierbar ist:

<http://msdn.microsoft.com/workshop/author/dhtml/reference/events/ondblclick.asp>

Ich denke nicht, Tim^J. ;-)

Quote:
Ist das ein Bug
Nein, ein Feature.

Quote:
oder muss da noch was eingebaut werden?
Ja, man könnte sich einen manipulierbaren Event-Handler
mittels onmousedown, onmouseup und setTimeout(...) basteln.


PointedEars



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.