View Single Post
Old 09-23-2024, 11:36 PM   #5
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,799
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Daniele Giampà View Post
Thank you for your help!

I edited the files, but I am afraid the scroll animation is not working.
Also, in the console, I read: failed to load resource...

Please, see the screenshots attached.
The new version is here:
https://edgedpub.com/sample_work_7.php
Yes, what DNSB said is the cause of your issue. You have built your epub as epub2 and javascript is only supported by epub3

Also, in your class "tarot-card" you have the following property:

Code:
height: vh15;
That won't work You should use:

Code:
height: 15vh;
With the above property, you will have defined the height of the section to scroll as 15% of the height of the screen. Also change the height in the "text-section" class as "height: 15vh" (without quotes of course).
RbnJrg is offline   Reply With Quote