3D FlipBook - Bootstrap modal integration

d***d@somucom.com
2020-12-04
2020-12-09

Hello, I just bought the full version and I would like to know how to integrate within a bootstrap modal.

When I use the modal event it does not work :

    <script type="text/javascript">
        $('#modal-pdf').on('shown.bs.modal', function (e) {
            $('.book-container').FlipBook({
                    pdf: '/pdf/dcmc.pdf'
            });
        });
    </script>

Nothing happens

Replies

d***d@somucom.com
2020-12-04
2020-12-04

$('#modal-pdf').on('shown.bs.modal', function (e) { $('.book-container').FlipBook({ pdf: '/pdf/dcmc.pdf' }); });

a***r@3dflipbook.net
2020-12-09
2020-12-09

Any errors in the console? or just something wrong with CSS sizes?

Log In to leave a comment