Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. $(document).ready(function () {
  2. var flipBook = $('#flipbookContainer');
  3. var options = {
  4. soundEnable: false,
  5. autoEnableOutline: false,
  6. enableDownload: false,
  7. height: h_flipp_container(),
  8. backgroundColor: "#999",
  9. pdfRenderQuality: 0.1,
  10. forceFit: true,
  11. pageSize: DFLIP.PAGE_SIZE.AUTO,
  12. pageMode: DFLIP.PAGE_MODE.DOUBLE,
  13. singlePageMode: DFLIP.SINGLE_PAGE_MODE.BOOKLET,
  14. enableDebugLog: true,
  15. webgl: true,
  16. stiffness: 10,
  17. allControls: "altPrev,pageNumber,altNext,zoomIn,zoomOut,pageMode",
  18. moreControls: "",
  19. hideControls: "",
  20. onReady: function (flipBook) {
  21. flipBook.gotoPage(page);
  22. },
  23. };
  24.  
  25. flipBook.css({
  26. top: top_flipp_container(),
  27. width: w_flipp_container(),
  28. height: h_flipp_container(),
  29. });
  30.  
  31. flipBook.flipBook(source, options);
  32.  
  33. })
  34. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement