Lines Matching refs:el
206 FCKTools.GetElementPosition = function( el, relativeWindow ) argument
213 var oOwnerWindow = FCKTools.GetElementWindow( el ) ;
217 while ( el )
219 var sPosition = oOwnerWindow.getComputedStyle(el, '').position ;
223 if ( sPosition && sPosition != 'static' && el.style.zIndex != FCKConfig.FloatingPanelsZIndex )
231 c.X += el.offsetLeft - el.scrollLeft ;
232 c.Y += el.offsetTop - el.scrollTop ;
239 while ( scrollElement && scrollElement != el )
247 previousElement = el ;
248 if ( el.offsetParent )
249 el = el.offsetParent ;
254 el = oOwnerWindow.frameElement ;
256 if ( el )
257 oOwnerWindow = FCKTools.GetElementWindow( el ) ;
261 c.X += el.scrollLeft ;
262 c.Y += el.scrollTop ;