var body = document.body; body.className += " u-body u-image u-xl-mode lazyload"; body.style.cssText += " background-position: 50% 50%;"; var dataBg = 'url('https://eiscafe-castagno.de/administrator/components/com_nicepage/assets/images/nicepage-images/default-image.jpg')'; if (dataBg) { body.setAttribute('data-bg', dataBg); } Eis- & Getränke //var pdf = 'aW1hZ2VzL3BkZi1maWxlcy9kZW1vLnBkZg=='; var soundf = 'aHR0cHM6Ly9laXNjYWZlLWNhc3RhZ25vLmRlL21vZHVsZXMvbW9kX2ZsaXBwaW5nYm9vay8vYXNzZXRzL3NvdW5kL3R1cm4xLm1wMw=='; var dFlipLocation = "https://eiscafe-castagno.de/modules/mod_flippingbook/assets/"; jQuery(document).ready(function () { //pdf = ''+Base64.decode(pdf)+''; var options = { webgl: true, webglShadow: true, soundEnable: true, soundFile: ''+Base64.decode(soundf)+'', height: '850px', autoEnableOutline: false, autoEnableThumbnail: false, overwritePDFOutline: true, enableDownload: false, duration: 800, direction: FBPJAR.DIRECTION.LTR, pageMode: FBPJAR.PAGE_MODE.AUTO, singlePageMode: FBPJAR.SINGLE_PAGE_MODE.BOOKLET, backgroundColor: "#fffaf3", autoPlay: false, autoPlayDuration: 2000, autoPlayStart: false, scrollWheel: true, pdfjsSrc: "https://eiscafe-castagno.de/modules/mod_flippingbook/assets/js/libs/pdf.min.js", pdfjsCompatibilitySrc: "https://eiscafe-castagno.de/modules/mod_flippingbook/assets/js/libs/compatibility.js", pdfjsWorkerSrc: "https://eiscafe-castagno.de/modules/mod_flippingbook/assets/js/libs/pdf.worker.min.js", threejsSrc: "https://eiscafe-castagno.de/modules/mod_flippingbook/assets/js/libs/three.min.js", imagesLocation: "https://eiscafe-castagno.de/modules/mod_flippingbook/assets/images", imageResourcesPath: "https://eiscafe-castagno.de/modules/mod_flippingbook/assets/images/pdfjs/", cMapUrl: "https://eiscafe-castagno.de/modules/mod_flippingbook/assets/cmaps/", text: { toggleSound: "Turn on/off Sound", toggleThumbnails: "Toggle Thumbnails", toggleOutline: "Toggle Outline/Bookmark", previousPage: "Previous Page", nextPage: "Next Page", toggleFullscreen: "Toggle Fullscreen", zoomIn: "Zoom in", zoomOut: "Zoom out", singlePageMode: "Single Page Mode", doublePageMode: "Double Page Mode", downloadPDFFile: "Download PDF File", gotoFirstPage: "Goto Frist Page", gotoLastPage: "Goto Last Page", play: "Start Auto Play", pause: "Pause AutoPlay", share: "Share", emailsubj:"You must see that page!", emailbodylink:"Check out this site :", loadingtext:"Flippingbook is Loading", nopdffileaccess:"Cannot access file" }, controlsPosition: FBPJAR.CONTROLSPOSITION.TOP, allControls: "altPrev,pageNumber,altNext,play,outline,thumbnail,zoomIn,zoomOut,fullScreen,share,download,more,pageMode,startPage,endPage,sound", moreControls: "download,pageMode,startPage,endPage,sound", hideControls: "outline,thumbnail,share,more,sound,", }; var images = ["https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-001.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-002.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-003.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-004.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-005.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-006.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-007.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-008.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-009.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-010.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-011.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-012.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-013.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-014.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-015.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-016.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-017.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-018.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-019.jpg","https:\/\/eiscafe-castagno.de\/images\/sk\/dscf0578-020.jpg"]; var flipBook = jQuery("#bookid_149").flipBook(images, options); // Write your custom JS }); /* write your custom css */ 24