Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic GetBoxSize (Read 1489 times)
seb412
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Jan 25th, 2009
GetBoxSize
Jan 25th, 2009 at 3:40pm
Print Post  
Hello,

i am searching for a function like activebox.height and activebox.width

I can not find a function where i can get the height and width from an element.

Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: GetBoxSize
Reply #1 - Jan 26th, 2009 at 6:14am
Print Post  
Hi,

Use height = activebox.Bottom - activebox.Top and width = activebox.Right - activebox.Left.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint