NetTalk Central

Author Topic: row sizes meaning  (Read 4537 times)

dbourrut

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • Email
row sizes meaning
« on: August 06, 2007, 09:26:06 AM »
I'm looking at a webserver example (Accounts (31)). The framepage procedure has a frameset called main. One of the extension fields that is filled in is Row Sizes which is filled in with: '87,*,21'.

Can you explain the meanings of these two numbers and *. Also could someone explain rows and to what they refer. That is, does a row refer to a portion of a page or a portion of a portion of the page?

Thanks,

Drew

Alan Telford

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
Re: row sizes meaning
« Reply #1 on: August 06, 2007, 01:24:59 PM »
Drew,

I dont' know all the answers, but '87,*,21' means there are 3 sections.
section 1 is 87 units (pixels or DLU)
section 2 is * units - which means it expands to fill all remaining space
section 3 is 21 units

ie section 1 and 3 are fixed in size, and section 2 is expandable according to your screen size, and the width/height of your browser window.
Try experimenting - change the numbers, recompile and open in your browser and see the difference.

Alan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11182
    • View Profile
Re: row sizes meaning
« Reply #2 on: August 06, 2007, 10:56:17 PM »
Hi Drew,

A frameset breaks up a page into a number of parts.
each part can contain either a Frame (ie a web page) or another Frameset.

Typically a Frameset divides the page into x rows or x columns. (Although it is possible to do both at the same time.)

So in the Accounts example, the page is broken up first into 3 rows, and the numbers are, as Alan explained, the initial sizes of the rows.

The middle row is then broken down into 2 columns, and you'll see sizes for that as well.

Cheers
Bruce

dbourrut

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • Email
Re: row sizes meaning
« Reply #3 on: August 09, 2007, 07:44:40 AM »
So, for example 87,*,21 would the 87 refer to height?  I assume so. Further I assume the * means that it is as big as it needs to be. Is that so?

Thanks,

Drew

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11182
    • View Profile
Re: row sizes meaning
« Reply #4 on: August 10, 2007, 01:56:36 AM »
Hi Rene,

Yes, if you're doing rows then this is the height. If you're doing columns then this is the width.

The * means "as much as is left" more than "as much as it needs". It basically means the middle row the the one that will grow, and shrink, as your browser window grows and shrinks.

Cheers
Bruce

dbourrut

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • Email
Re: row sizes meaning
« Reply #5 on: August 10, 2007, 08:01:55 AM »
Thanks Bruce. But uh... who the heck is Rene??? :D

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11182
    • View Profile
Re: row sizes meaning
« Reply #6 on: August 12, 2007, 10:47:37 PM »
Hi Drew,

Sorry - answering too many simultaneously...
But I'm never wrong, so I'm afraid you're gonna have to change your name to Rene now...

Cheers
Bruce