View Single Post
Old 09-28-2024, 03:30 PM   #34
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,204
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by RbnJrg View Post
For those who want to play with the idea of ​​changing styles from css2 to css3 via javascript, I attach a simple epub that only contains a title page.
What happens if this ePub is read initially with an ePub3 reader and the Javascript is executed. Then the ePub is read on an ePub2 reader. How does CSS2 get used since the CSS is now CSS3 from the previous view? Does the Javascript run when either the ePub is closed and/or the program is exited to put the CSS2 back in place?

Last edited by JSWolf; 09-28-2024 at 03:37 PM.
JSWolf is offline   Reply With Quote