Giter VIP home page Giter VIP logo

dearflip-jquery-flipbook's Introduction

Create realistic 3D FlipBook from PDF or images using jQuery powered DearFlip plugin. DearFlip creates PDF FLipbooks and Image Flipbook with 3D modes and 2D modes. This is jQuery port of DearFlip FLipbook/PDF Viewer solution.

Related Solutions: jQuery fli[pbook, JS flipbook, PDF flipbook, JavaScript flipbook

License

Attribution-NonCommercial-NoDerivatives 4.0 International

License: CC BY-NC-ND 4.0

This is a non-commercial Lite Version. You are free to use for only personal non-profit use, testing/trial not otherwise. For commercial versions follow the links below: jQuery Flipbook or WordPress Flipbook

For Desktop versions follow the links below: PDF Viewer Google Chrome Extension For Wordpress Demo: Get DearFlip lite Wordpress : 3D Flipbook from Wordpress Repository

Usage

File Structure

DearFlip, also known as dFlip, flipbook plugin is jQuery based. Basically you can copy the files in folder to your working directory. We recommend copying the whole dflip folder as it is.

dflip/
  ├── css/
  ├── fonts/(fonts folder are not used since 2.0)
  ├── images/
  ├── sound/
  └── js/
      └── libs/
// In older versions, before v1.4.2, dflip folder was expected in the root where the html file is served.
// if not the location was required to be indicated.
// As of version 1.4.2, (not required in normal conditions, will be auto-detected)
var dFlipLocation = "http://www.yoursite.com/dflip/";

Basic File Tempate

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Basic HTML Template</title>

<!-- Flipbook StyleSheets -->
<link href="http://www.yoursite.com/dflip/css/dflip.min.css" rel="stylesheet" type="text/css">
<!-- themify-icons.min.css is not required in version 2.0 and above -->
<link href="http://www.yoursite.com/dflip/css/themify-icons.min.css" rel="stylesheet" type="text/css">

</head>
<body>
<div class="_df_book" id="flipbok_example" source="location of pdf.pdf"></div>

<!-- Scripts -->
<script src="http://www.yoursite.com/dflip/js/libs/jquery.min.js" type="text/javascript"></script>
<script src="http://www.yoursite.com/dflip/js/dflip.min.js" type="text/javascript"></script>

</body>
</html>

Example HTML Syntax

<!--Embedded Usage--> 
<div class="_df_book" source="http://www.yoursite.com/books/intro.pdf"></div>

<!--Button Lightbox Usage--> 
<div class="_df_button" source="http://www.yoursite.com/books/intro.pdf"> Intro Book</div>

<!--Thumbnail Lightbox Usage Images-->
<div class="_df_thumb" source="http://www.yoursite.com/books/intro.pdf"
     tags="3d,images" thumb="http://www.yoursite.com/books/thumbs/intro.jpg">Images</div>

Extending with options

<div class="_df_button" id="button_pdf">Dflip Manual</div>
<div class="_df_button" id="button_image">Dflip Pictures</div>

//Just add option_ in front of the element id to create the required option variable
var option_button_pdf = {
    source:'http://www.yoursite.com/someplace/pdf-to-be-loaded.pdf',
    webgl:true,
    height:500
    //we recommend using default auto height
};

var option_button_image = {
     source : ['http://www.yoursite.com/books/thumbs/alice.jpg',
               'http://www.yoursite.com/books/thumbs/dflip.jpg',
               'http://www.yoursite.com/books/thumbs/nightangle.jpg'],
     webgl:true
};

More documentation at DearFlip jQuery Flipbook Docs

dearflip-jquery-flipbook's People

Contributors

deepak-ghimire avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dearflip-jquery-flipbook's Issues

Page Flicker

Page flicker on 'previous' action at page 4 (equals to stack count)

Single Page Mode.

Single and Double page mode for Mobile and Desktop versions respectively.

Loading details

Some loading details and error details would be helpful for the customer to find out the issues and resolve theme using FAQ.

Need details for purchase

We are interested in buying dearflip JQuery version. We have some questions before that. On website I could not find a way to post questions. Is there some way to reach out to the author for further discussion

Failed to execute 'shaderSource' on 'WebGLRenderingContext' in Chrome (V 96.0.4664.110), Safari (15.1 )

I have been facing this issue since few weeks and it is happening sometimes only when opening the dearflip view.

image

Logs from console
Uncaught TypeError: Failed to execute 'shaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLShader'.
at ee (three.min.js?ver=1.7.14:58)
at new af (three.min.js?ver=1.7.14:73)
at cf.acquireProgram (three.min.js?ver=1.7.14:83)
at v (three.min.js?ver=1.7.14:134)
at od.renderBufferDirect (three.min.js?ver=1.7.14:162)
at $d.render (three.min.js?ver=1.7.14:41)
at od.render (three.min.js?ver=1.7.14:169)
at n.Stage.render (mockup.min.js?ver=1.7.14:4)
at animate (mockup.min.js?ver=1.7.14:4)

Bug on link parameters

Hi,

Options :
//(NON-OPTION) source link for PDF.JS file
pdfjsSrc: "js/libs/pdf.min.js",
//(NON-OPTION) source link for PDFcompatibility.JS file
pdfjsCompatibilitySrc: "js/libs/compatibility.js",
//(NON-OPTION) source link for PDF.WORKER.JS file
pdfjsWorkerSrc: "js/libs/pdf.worker.min.js",
//(NON-OPTION) source link for THREE.JS file
threejsSrc: "js/libs/three.min.js",
//(NON-OPTION) source link for MOCKUP.JS file
mockupjsSrc: "js/libs/mockup.min.js",

doesn't work if dFlipLocation is defined.

previewer of the flipbook not open properly Unable to load THREE.js...

Hello Support

Can you please check and let us know why our dearflip jquery plugin not working properly i have done the html file configuration according to the documents , but we not showing the flipbook popup properly always show 'Unable to load THREE.js...', i'll atached the screenshot below please check and let us know asap
Basic-HTML-Template

Add force fix page size.

Some internal scanned page of PDF are not same size.
Provide an option to optimize/stretch to fit.

Social Share Option.

Need social share button that will allow users to share the url to the FlipBook Page.

Scroll Zoom Issues

Scroll Zoom should happen only when stage is active. Like google maps.

get Index of the array if images

Hello,

I am populating the flipbook by images. I need to add the print functionality. for this if user click on any button i want to get the index pressed from the array that i passed on document ready.
Can you help on that.

Image flipbook is not working proper

Untitled
case:-

add 6 images and open in double page mode. then open thumbnail=> click on 1 then 3 then 1 then 4. you will see images on page 5 and 6 blank.

End Page Event to trigger custom function

Can we have an event that gets trigger when the user reaches to end of the pdf or to end page(last page).

A function may be trigger upon the event to extend the features.

Search

Can I add a search engine to send to a specific page of my pdf in DearFlip Premium Version?

Hello, How can we set dynamic pdf when user upload it in file

Hello Support

How can we set the pdf path source dynamically after page load , i was try to set the source path dynamically after the page not but it is not working my side , We have a site where customers can upload their own pdf and preview it with this plugin, so when I set the path of pdf on their upload '_df_button' div with this code, then I am getting error and previewer is fine not working

Regards
Arshad
Book-Register-Authors-BiblioGarden-com

Turn off PDF Outline.

Provide an option to enable default PDF outline.

Options could be:
Use PDF Outline: True/False

True merges the PDF outline with Custom Outline
False only uses the Custom Outline.

P.S. this option will only be available if the source is PDF

Auto Center

Let the book align to Center when closed and open.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.