Hello,

I am new to DynAPI ...

I decided to try the dynacode dynapi distribution... the sources I use are
2001-01-13...

I am trying to catch the onresize event of the browser window in order to
keep a layer centered in the window frame...

A sample code I use is:

  DynAPI.onLoad=function() {
    myListener = new EventListener()
    myListener.onmouseup=function(e) {
      alert('Document Clicked')
    }
    myListener.onmousemove=function(e) {
      status="x="+e.x+" y="+e.y;
    }
    myListener.onresize=function(e) {
      status="onresize";
    }

    DynAPI.document.addEventListener(myListener)
  }

When i try the above code the only event which works is the onmousemove...

Can any one help me? Why is this happening?

Thank you

Andreas Gortsilas
*********************************
* Andreas Gortsilas
* Systems Engineer - R&D
* Quality Manager - R&D
* Singular Computer Applications
* Tel.: (301) 64 79 600 (688)
* SMTP: [EMAIL PROTECTED]
* HTTP://www.singular.gr
*********************************


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to