3. Chapter pages

Home  Previous  Next

Example:

You want the images of the image list to be displayed on one page each. This page repeats until all images of the image list have been displayed.
Each chapter in the image list shall be introduced with a separate page that only displays the name of the chapter.

Structure:

StructureExample3

Explanation:

The main part of this structure is similar to the previously described. A loop is executed until the end of the image list has been reached.

What's special about this example is that the structure needs to react to chapters. For this purpose the "Event Chapter" is inserted into the loop. When a chapter starts during the execution of the loop (i.e. running through all images of the image list) then it will run through all objects of that event.

That means that the "Image page" will be displayed as long as there is no chapter in the loop. If the latter happens the "Chapter page" will be displayed with its text.

Additional facts:

Naturally this example can be further extended. You might want to show the start of the chapter not only by using its name, but also display the thumbnails of the following images. The next example will explain how to do this.

 


Copyright © AquaSoft ® GmbH 1999-2015 www.aquasoft.net