innerHTML = 'Preparing document.' const source = '' const options = ) ĭocViewer. getElementById ( 'flipbook' ) const loadingMessageElement = document. setWorkerPath ( './././lib/core' ) const flipbookElement = document. Var flipBook_pdf = $("#flipbookPDFContainer").flipBook(source_pdf,option_pdf) Ĭonsider you want to use the options and features, you can use directly with JavaScript by using HTML element ID. Var flipBook_images = $("#flipbookImageContainer").flipBook(source_images,option_images) Convert a PDF of any size and customize it with a realistic flipping page, slide and coverflow effects. best to start when the document is loaded Don’t use predefined classes like _df_book, _df_thumb, _df_button, _df_link with jquery function syntax. We do support jQuery function with selector, but we don’t recommend it because of its technical requirements to insert inside proper jQuery ready function or called after everything has been loaded. Increase maxinputvars in your php.ini from default 1000 to higher value, for example 3000. JavaScript variable can be added anywhere just make sure it’s available before page load.Įlement id : button_pdf, option variable name : option_ button_pdf jQuery Function(Not recommended): Unable to save flipbook settings / unable to add new flipbook. Dflip Manualĭflip Pictures //Just add option_ in front of the element id to create the required option variable You can see this used in the flipbook examples page. We use and recommend the CSS and option method for best results. In the above usage you create only embed mode flipbook. You can use images and PDFs as source, while PDFs source can be provided as html attribute images need to be added through JavaScript as array – detailed in example below. LightBox Popup Examples: Click on these thumbs and buttons
0 Comments
Leave a Reply. |