View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,217

Old July 23rd, 2009, 06:31 AM
Quote:
Originally Posted by SAbel View Post
portal[clClan].width = width / 2 - 5
portal[clClan].left = 0
portal[clClan].height = height
The clan portal's width is half the width of the template (the whole Clan panel in this case), - 5 pixels.
It's left-most point is at the far left.
It can have all the height it needs.

Quote:
Originally Posted by SAbel View Post
portal[famFamily].width = portal[clClan].width
portal[famFamily].left = portal[clClan].left
portal[famFamily].top = portal[Horizontal].bottom + 15
portal[famFamily].height = height - portal[famFamily].top
The family portal has the same width as the clan portal.
And they are left-aligned.
It's top is 15 pixels below the clan portal's bottom.
It's height is the height of the window minus the space the clan portal takes up.
Mathias is online now   #1 Reply With Quote