Page Modifiers
Each book page can be configured separately using any of the following settings also called page modifiers. Modifiers can be set right in the page URL:
Each book page can be configured separately using any of the following settings also called page modifiers. Modifiers can be set right in the page URL:
flippingBook.pages = [ "pages/page-001.jpeg?scaleContent=true&rigid=true", "pages/page-002.jpeg?rigid=true", ];
As you can see from the example you must use the common URL query format for specifying several modifiers for one particular page.
Redefines the global scaleContent parameter for the particular page. Example: page.jpg?scaleContent=false
Allows to disable center shadow for a particular page. Example: page.jpg?showStaticShadow=true
Defines the type of the page (either rigid or soft). Example: page.jpg?rigid=true wide Allows to use wide page file for two pages. This modifier must be defined to two neighbor pages. Example: wide-page.jpg?wide=true
Redefines the playOnDemand parameter for the particular page Example: page.jpg?playOnDemand=true
Redefines the center parameter for the particular page Example: page.jpg?centerContent=true
Allows to specify the desired page width in pixels. Some PDF to SWF tools can add invisible content to target SWF files. That invisible content affects page size and results in the incorrect scaling. This parameter allows to you set the needed page size. In this case the book will use the given value instead of the real page size. Example: page.jpg?w=400
Allows to specify the desired page height in pixels. Some PDF to SWF tools can add invisible content to target SWF files. That invisible content affects page size and results in the incorrect scaling. This parameter allows to you set the needed page size. In this case the book will use the given value instead of the real page size. Example: page.jpg?h=600
Redefines the freezeOnFlip global parameter for the particular page. Example: page.jpg?freezeOnFlip=true
Redefines the smoothPages global parameter for the particular page. Example: page.jpg?smooth=true
Redefines the darkPages global parameter for the particular page. Example: page.jpg?dark=true