Re: T-4.1.6, anyone got a good getPosition(node) function

2008-10-17 Thread Matt Brock
nhhockeyplayer wrote: > > Does anyone have a reliable method for calculating x,y ? > My code lives in a *.script file > I have these but they are off by 40 or so pixels for both x and y. > I have seen variations on this method several times, but they are all fundamentally flawed because they do

T-4.1.6, anyone got a good getPosition(node) function

2008-10-15 Thread Ken in nashua
Folks, I cannot help thinking that somehow the rendering of components and their positions are skewed someway... under the hood. I am unable to calculate the position of my component on the page. Does anyone have a reliable method for calculating x,y ? My code lives in a *.script file I