Hello, It's the first time I'm using 3D flipbook and i constantly get this error: TypeError: _this.wnd is null. How can I solve it?
Hi, could you write a link to any page where you getting such error?
Hi, the link is https://ndoki.org/en-us/Resources/Documents
Try to create the book from document ready function:
jQuery(function() { jQuery('body').FlipBook(...); });
Done, it still shows the same error.
Problem goes from this script: https://ndoki.org/Portals/_default/skins/wcs_ndoki/js/main.min.js?v=00.00.12 , if you exclude it from the page, it will work.
Tricks like $("#Form").appendTo("#mainform"); does not work for iframes.
$("#Form").appendTo("#mainform");
In your case you need to create book only after that trick in main.min.js, something like:
$( document ).ready(function() { setTimeout(function() { $('.sample-container').FlipBook({ pdf: "FoxitPdfSdk.pdf", template: { html: 'templates/default-book-view.html', links: [{ rel: 'stylesheet', href: 'css/font-awesome.min.css' }], styles: [ 'css/short-black-book-view.css' ], script: 'js/default-book-view.js' }, }); }, 1000); });
You need to create your own document ready event that fires after the trick and use it for creating iframes containing objects.
Solved. Thank You for the Help!
Hi, could you write a link to any page where you getting such error?
Hi, the link is https://ndoki.org/en-us/Resources/Documents
Try to create the book from document ready function:
Done, it still shows the same error.
Problem goes from this script: https://ndoki.org/Portals/_default/skins/wcs_ndoki/js/main.min.js?v=00.00.12 , if you exclude it from the page, it will work.
Tricks like
$("#Form").appendTo("#mainform");
does not work for iframes.In your case you need to create book only after that trick in main.min.js, something like:
You need to create your own document ready event that fires after the trick and use it for creating iframes containing objects.
Solved. Thank You for the Help!