Example of sub-blocks
this TBS template is W3C compliant
This example shows two ways of making sub-blocks. The first is using an automatic sub-block. The second is using a dynamic query.
Automatic sub-block
You can us it when the data of the sub-block is available in a particular column of the main block.
Team: Eagle , Total score: 458
Position |
Town |
Score |
Date |
1 |
London |
253 |
11-30-1999 |
2 |
Paris |
145 |
07-24-2002 |
|
Team: Goonies , Total score: 281
Position |
Town |
Score |
Date |
1 |
New-York |
365 |
12-25-2001 |
2 |
Madrid |
521 |
01-14-2004 |
|
Team: MIB , Total score: 615
Position |
Town |
Score |
Date |
1 |
Dallas |
362 |
01-02-2001 |
2 |
Lyon |
321 |
11-17-2002 |
3 |
Washington |
245 |
08-24-2003 |
|
Sub-block with dynamic query
Data for the sub-block are requested for each record of the main block. It is important to merge the main block before the subblock.
Team: Eagle , Total score: 458
Position |
Town |
Score |
Date |
1 |
London |
253 |
11-30-1999 |
2 |
Paris |
145 |
07-24-2002 |
|
Team: Goonies , Total score: 281
Position |
Town |
Score |
Date |
1 |
New-York |
365 |
12-25-2001 |
2 |
Madrid |
521 |
01-14-2004 |
|
Team: MIB , Total score: 615
Position |
Town |
Score |
Date |
1 |
Dallas |
362 |
01-02-2001 |
2 |
Lyon |
321 |
11-17-2002 |
3 |
Washington |
245 |
08-24-2003 |
|