Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2890457
PHUIXFormationFlankView.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
PHUIXFormationFlankView.js
View Options
/**
* @provides phuix-formation-flank-view
* @requires javelin-install
* javelin-dom
*/
JX
.
install
(
'PHUIXFormationFlankView'
,
{
construct
:
function
(
node
,
head
,
body
,
tail
)
{
this
.
_node
=
node
;
this
.
_headNode
=
head
;
this
.
_bodyNode
=
body
;
this
.
_tailNode
=
tail
;
},
properties
:
{
isFixed
:
false
,
bannerHeight
:
null
,
width
:
null
},
members
:
{
_node
:
null
,
_headNode
:
null
,
_bodyNode
:
null
,
_tailNode
:
null
,
getBodyNode
:
function
()
{
return
this
.
_bodyNode
;
},
getTailNode
:
function
()
{
return
this
.
_tailNode
;
},
repaint
:
function
()
{
if
(
!
this
.
getIsFixed
())
{
return
;
}
this
.
_node
.
style
.
top
=
this
.
getBannerHeight
()
+
'px'
;
this
.
_node
.
style
.
width
=
this
.
getWidth
()
+
'px'
;
var
body
=
this
.
getBodyNode
();
var
body_pos
=
JX
.
$V
(
body
);
var
tail
=
this
.
getTailNode
();
var
tail_pos
=
JX
.
$V
(
tail
);
var
max_height
=
(
tail_pos
.
y
-
body_pos
.
y
);
body
.
style
.
maxHeight
=
max_height
+
'px'
;
}
}
});
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 13:37 (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1110063
Default Alt Text
PHUIXFormationFlankView.js (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment