Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function () {
- var flipBook = $('#flipbookContainer');
- var options = {
- soundEnable: false,
- autoEnableOutline: false,
- enableDownload: false,
- height: h_flipp_container(),
- backgroundColor: "#999",
- pdfRenderQuality: 0.1,
- forceFit: true,
- pageSize: DFLIP.PAGE_SIZE.AUTO,
- pageMode: DFLIP.PAGE_MODE.DOUBLE,
- singlePageMode: DFLIP.SINGLE_PAGE_MODE.BOOKLET,
- enableDebugLog: true,
- webgl: true,
- stiffness: 10,
- allControls: "altPrev,pageNumber,altNext,zoomIn,zoomOut,pageMode",
- moreControls: "",
- hideControls: "",
- onReady: function (flipBook) {
- flipBook.gotoPage(page);
- },
- };
- flipBook.css({
- top: top_flipp_container(),
- width: w_flipp_container(),
- height: h_flipp_container(),
- });
- flipBook.flipBook(source, options);
- })
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement