Each publication tag placed in in the XML will represent one book. Also each book has a couple of basic parameters that need to be setup:
<publication
booktitle="Interactive Book Demo"
width="0"
height="0"
proportion="0.7"
boarder="5"
middleBoarder="0.5"
boarderColor="0x000000"
boarderAlpha="30"
doubleClick="false"
zoom="false"
resizeSwf="true"
resizeContent="false"
resizeTableOfContent="false">
<!--book content area - see Adding/Removing Pages -->
</publications>
- booktitle - represents the title of your book to be displayed in the URL and on the "choose book" screen if you have more then one book
- width - If you want your flip book to have a fixed size, fill-in this field with a value (for example, 800) that will be the width of your publication for two pages (the value is calculated in pixels). If you want yourbook to fit the user's browser size fill-in the field with 0 value.
- height - If you want your flip book to have a fixed size, fill-in this field with a value (for example, 800) that will be the width of your publication for two pages (the value is calculated in pixels). If you want yourbook to fit the user's browser size fill-in the field with 0 value.
- proportion - If you use fized size for the book (for example 800 x 600), you can leave this attribute blank. For example if you enter 0.8, that means that the height will be equal to 0.8 of the book width.
- border - it specifies the thickness of the border around the book
- middleBorder - it specifies the thickness of the border between the pages
- borderColor - it specifies the color of the border (hexadecimal code only)
- borderAlpha - it specifies the transparency of the border (use values from 0.0 to 1)
- doubleClick - it specifies if a user is able to turn the page by double clicking on its corner
- resizeSwf - it specifies if the SWF file will be resized to fill the page
- resizeContent - it specifies if the content page will be resized to fill the full size of a page
- resizeTableOfContent - it specifies if the table of content will be resized to fill the full size of a page.
- zoom - it specifies if the zoom functionality is enabled for the book.