Hi,
I have tried to integrate with a mvc application (php). I get this error:
Object { readyState: 4, getResponseHeader: .ajax/v.getResponseHeader(), getAllResponseHeaders: .ajax/v.getAllResponseHeaders(), setRequestHeader: .ajax/v.setRequestHeader(), overrideMimeType: .ajax/v.overrideMimeType(), statusCode: .ajax/v.statusCode(), abort: .ajax/v.abort(), state: .Deferred/d.state(), always: .Deferred/d.always(), then: .Deferred/d.then(), 11 más… }
in 3dflipbook.min.js
How can I resolve the problem
This is my header call
<!- 3dflipbook ->
<script src=”<?php echo base_url();?>assets/assets/3dflipbook/js/html2canvas.min.js”></script>
<script src=”<?php echo base_url();?>assets/assets/3dflipbook/js/three.min.js”></script>
<script src=”<?php echo base_url();?>assets/assets/3dflipbook/js/pdf.min.js”></script>
<script src=”<?php echo base_url();?>assets/assets/3dflipbook/js/script.js”></script>
<script src=”<?php echo base_url();?>assets/assets/3dflipbook/js/3dflipbook.min.js”></script>
<!- 3dflipbook style ->
<link href=”<?php echo base_url();?>assets/assets/3dflipbook/css/style.css” rel=”stylesheet”>
<script type=”text/javascript”> $(’.sample-container div’).FlipBook({pdf: ’<?php echo base_url();?>assets/assets/documents/boletines/boletin_1.pdf’}); </script>
What I am Missing ?
Thanks in advance
Best regards from Perú
Martin
I gues it will be more comfortable to see this as the example.
Hi Thanks for the email, I have 2 questions: How can I make dynamic, it means, read from a database the filenames of the books and shows in a page. When I click one of them, it opens . The second question is I want to integrate with an application in codeigniter (mvc). I have many call a many plugins of jquery and bootstrap. Can you check my code?
Hi!
1) First of all have a look at the examples projpublichome.html and projpublicformats.html. I recommend start with formats.html – it is easier and there is used bootstrap modal window. You need to generate JSON that contains array or object of books options and then create a flipbook by some event with one of the options. This is how I did.
2) I didnt work with codeigniter, I worked with Spring in Java and WordPress but I guess integration process will be similar. Try it by youself then if you have serious issues we will try to solve them together.)
Best regards
Ivan