Home

Downloads

FAQs

Sample Book

Features

Forum

 

Page backgrounds

If you wish you can have the background change when your book pages change.

Upto V1.39 you can define any number of backgrounds between the <content> and </content> tags in pages.xml. From V1.41 the background definitions are kept in a separate file xml/Backgrounds.xml.

<background id="sample05" src="backgrounds/sample05.jpg"/>
<background id="image1" src="backgrounds/image1.jpg"/>
<background id="image2" src="backgrounds/image2.jpg"/>
<background id="image3" src="backgrounds/image3.jpg"/>
<background id="image5" src="backgrounds/image5.jpg"/>
<background id="wood" src="backgrounds/wood.png"/>

The id attribute is used to apply the background image when required. Within a <page> tag in xml/pages.xml you can then specify the background for that page using:-

<page bkgnd="wood" ...>

The book background will then change when that page is opened.