[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/khtml/xml
From:       CVS by pmk <kde-cvs () kde ! org>
Date:       2001-07-04 11:12:38
[Download RAW message or body]


kdelibs/khtml/xml dom2_eventsimpl.cpp,1.10,1.11 dom2_eventsimpl.h,1.11,1.12 \
dom_docimpl.cpp,1.96,1.97 dom_docimpl.h,1.55,1.56 dom_nodeimpl.cpp,1.126,1.127 \
                dom_nodeimpl.h,1.86,1.87
Author: pmk
Wed Jul  4 11:12:28 UTC 2001


Modified Files:
         dom2_eventsimpl.cpp dom2_eventsimpl.h dom_docimpl.cpp
         dom_docimpl.h dom_nodeimpl.cpp dom_nodeimpl.h
Log Message:
Support the use of properties like onClick and onMouseOver on elements,
to handle events. The property is a javascript function object, so you
can do things like:

input1.onClick = function() { alert('test'); }

Also, assigning an on* attribute to an element creates a javascript function
with the body given in the attribute value, and a single parameter, event.
This means that you can now reference the event object from within an event
handler, as many DHTML scripts use.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic