|
From: GORTSILAS A. <ag...@si...> - 2001-01-18 12:38:41
|
Thanks for your quick reply...
What other events, except onresize, follow this convention:
DynAPI.eventname = ....
Andreas
-----Original Message-----
From: Pascal [mailto:pb...@oi...]
Sent: Thursday, January 18, 2001 2:29 PM
To: dyn...@li...
Subject: RE: [Dynapi-Dev] Document resize event
1. Sorry for previous reply (empty one :)
2. Please use DynAPI-help for .. uhm .. help
3.: you should catch the onresize event like this:
DynAPI.onResize=function() {
}
it's the window's onresize event..
but actually it's a good idea to also invoke those events on every
document.. :-)
I'll look into the onmouseup problem.. but seeing as Jordi is doing (has
done) a lot
of event code updating it will most likely be fixed.
Pascal Bestebroer (pb...@oi...)
Software ontwikkelaar
Oberon Informatiesystemen b.v.
http://www.oibv.com
> -----Oorspronkelijk bericht-----
> Van: dyn...@li...
> [mailto:dyn...@li...]Namens
> GORTSILAS ANDREAS
> Verzonden: donderdag 18 januari 2001 13:18
> Aan: 'dyn...@li...'
> Onderwerp: [Dynapi-Dev] Document resize event
>
>
> 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: ag...@si...
> * HTTP://www.singular.gr
> *********************************
>
>
> _______________________________________________
> Dynapi-Dev mailing list
> Dyn...@li...
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>
_______________________________________________
Dynapi-Dev mailing list
Dyn...@li...
http://lists.sourceforge.net/lists/listinfo/dynapi-dev
|