04-27-2024, 10:43 PM | #16 | |
Wizard
Posts: 1,610
Karma: 8399999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
By the way, Kobo has a nice support for epub3; just test the iOS or Android app and you'll see that. |
|
04-27-2024, 11:51 PM | #17 | |||
Wizard
Posts: 1,610
Karma: 8399999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
?
Evidently you don't use javascript, otherwise you wouldn't do such statement. PocketBook, Gitden, Reasily, Lithium, Aldiko, Cantook, Kobo, Bluefire, Infinity Reader, BookFusion, Overdrive, ADE, Thorium, Foliate, Koodo Reader, Sigil, Readium, BibiReader, EpubJS, Calibre Viewer, NeatReader. In all these programs and apps, epub3 and javascript is supported perfectly and I test my epubs on all of them. Please, tell us an epub3 program or app that is not supporting javascript. If you can't do that, then your statement "Javascript does not work in most cases" is false. Quote:
Quote:
Quote:
|
|||
Advert | |
|
04-28-2024, 06:03 AM | #18 | |
Resident Curmudgeon
Posts: 76,465
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
04-28-2024, 06:04 AM | #19 |
Resident Curmudgeon
Posts: 76,465
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It's also an example of code that's not compatible enough if the eBook is for sale.
|
04-28-2024, 06:07 AM | #20 | |
Resident Curmudgeon
Posts: 76,465
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
04-28-2024, 12:38 PM | #21 | |
A Hairy Wizard
Posts: 3,225
Karma: 19000635
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
If the device doesn't support JS it ignores it and the CSS is displayed. That is called "fallback" coding... CSS itself has built-in fallback functionality via the order of precedence, or css specificity, system...
Quote:
Purely your opinion...and stated here as an EXAMPLE of the possibilities...stop trying to throw your opinion out there as ePub doctrine. |
|
04-28-2024, 12:39 PM | #22 |
Wizard
Posts: 1,610
Karma: 8399999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
I really have to make efforts to stay calm. With each new statement from you, I become more and more convinced that you know very little about the epub protocol (both epub2 and epub3). Of course it's not a sin to ignore something (none of us were born knowing), but it's a sin to try to teach from ignorance, as is your case.
What do you think I use javascript for (which by the way, you talk about it but you don't know what it's for). I USE JAVASCRIPT TO FORMAT TEXT AND PARAGRAPHS. And since epub2 doesn't support javascript, the code is ignored and the special formatting (for devices that accept epub3) IS NOT APPLIED. Rich formatting has no place in epub2. In that case there is no need for alternative code. I explain it to you again because I see that you are very closed and don't understand things: 1) I write code for epub2 (this is the base code). 2) I check if the device accepts certain CSS code through the @supports instruction. 3) I write that CSS3 code in case it is supported. 4) The code in step 3) is a layer on the code I wrote in step 1). If the code of step3 is not supported, then the style ("the layer") is ignored and the base code I wrote in step 1) takes place. Do you understand? 5) I check through javascript if the property I wrote in point 3) was accepted. If it was, then I apply more corrections to the epub (I change styles, I change style sheets, I apply special layouts and many other things -basically, I apply responsive formats when font-size is changed). 6) What if the device only accepts epub2 and reject javascript? NOTHING HAPPENS. The code in point 5) doesn't take place and the base code remains active. Please don't talk more about what you don't know. You already stated a falsehood when you stated that javascript was not supported by the majority of ereaders. I asked you to name a single epub3 ereader that doesn't support javascript and you couldn't do it. How much more nonsense do we have to read from you? Last edited by RbnJrg; 04-28-2024 at 01:00 PM. |
04-28-2024, 12:46 PM | #23 |
A Hairy Wizard
Posts: 3,225
Karma: 19000635
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
@RbnJrg: JSWolf is, and has always been (AFAIR), an ePub2 ONLY person. He refuses to acknowledge that ePub3 has more/better/newer capabilities...so...he refuses to believe that it is possible to code for both ePub3/JS and still provide fallback to ePub2 if the device doesn't support it. Hopefully, someday, he will actually learn something about the subject instead of forcing everyone to use ePub2 coding that he can understand.
|
04-28-2024, 02:14 PM | #24 | |
Wizard
Posts: 1,610
Karma: 8399999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is the best color ereader tat is not crazy expensive? | HLS | Which one should I buy? | 106 | 10-17-2023 02:44 PM |
New ereader question | Cactusgod | Sony Reader | 12 | 12-07-2012 06:53 AM |
Using two ereader question | Mojoman | Library Management | 3 | 06-17-2011 05:17 PM |
Free (Kindle) Crazy Sexy Cancer Tips (Crazy Sexy) | arcadata | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 01-21-2011 02:15 PM |
eReader question | 6charlong | Astak EZReader | 10 | 08-26-2009 06:23 PM |