Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F2114194
utility.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Nov 18, 3:55 PM
Size
417 B
Mime Type
text/plain
Expires
Fri, Nov 20, 3:55 PM (53 m, 11 s)
Engine
blob
Format
Raw Data
Handle
978735
Attached To
rINP In-Portal
utility.js
View Options
function
getRealLeft
(
el
)
{
xPos
=
el
.
offsetLeft
;
tempEl
=
el
.
offsetParent
;
while
(
tempEl
!=
null
)
{
xPos
+=
tempEl
.
offsetLeft
;
tempEl
=
tempEl
.
offsetParent
;
}
return
xPos
;
}
function
getRealTop
(
el
)
{
yPos
=
el
.
offsetTop
;
tempEl
=
el
.
offsetParent
;
while
(
tempEl
!=
null
)
{
yPos
+=
tempEl
.
offsetTop
;
tempEl
=
tempEl
.
offsetParent
;
}
return
yPos
;
}
Event Timeline
Log In to Comment