Hi

I cannot register a listener for resize events on the DynAPI.document.
If I add this code to my page, I can see the 'click' message displayed but
not the 'risize' one.

DynAPI.onLoad = function() {

        documentListener=new EventListener()
        documentListener.onclick=function(e) {
                alert('click')
        }
        documentListener.onresize=function(e) {
                alert('resize')
        }
        DynAPI.document.addEventListener(documentListener)

}

I know that I can use the following code but it is not want I want to use

DynAPI.onResize = function() {
        (...)
}


Thanks in advance


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to