Ok Bill.
The code works correctly with your change.
But I ask a thing:
Because the message that I place after storing wide and high of the =
layer and the document shows the data of lw, lh, dw and dh correctly and =
later do not make the operations correctament?
lw =3D this.css.width;
lh =3D this.css.height;
dw =3D DynAPI.document.w;
dh =3D DynAPI.document.h;
alert("Function Aling() lw:"+lw+" lh:"+lh+" dw:"+dw+" dh:"+dh+" =
cHor:"+cHor+" cVer:"+cVer); < It gives the correct values of wide and =
the high of layer and document.
Some explanation?
|