View Single Post
Old 09-02-2021, 04:50 PM   #1
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,880
Karma: 8821117
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Viewer seems not to load some scripts

The attached epub makes use of javascripts to achieve certain text effects with a minimum of html markup (all the work is made on the css stylesheet). The epub is perfectly displayed by the Calibre Book Editor, as you can see in the image below:

Click image for larger version

Name:	Image1.png
Views:	257
Size:	163.7 KB
ID:	189070

However, the Calibre book viewer only displays text without any formatting:

Click image for larger version

Name:	Image2.png
Views:	244
Size:	45.8 KB
ID:	189071

Obviously the Book Viewer is not loading the javascripts and, I wonder why? I have included the keyword "defer" in the script tags but without result. It also doesn't work to move the scripts to the bottom of the page (above the </body> tag). I would like to know if all this is because I am doing something wrong, or because of a bug in the book viewer.

Regards
Attached Files
File Type: epub nthEverything 2 (epub3).epub (38.9 KB, 148 views)

Last edited by RbnJrg; 09-02-2021 at 07:55 PM.
RbnJrg is online now   Reply With Quote