Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 08-10-2025, 02:04 PM   #1
LPolder
Junior Member
LPolder began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2025
Device: Kobo Libra 2
Kebub - all links open as a footnote with preview

I have been experimenting with including javascript in my epubs to create some randomised elements. For my Kobo Libra 2 it is necessary to format the file as a .kebub.epub to ensure the JS works. Since I did this, some of the anchor tags no longer function as direct links, but as footnotes. Instead of directly redirecting the reader to another page it shows up as a preview window.

I can't seem to find rhyme or reason behind when it does or doesn't do this. as a test I created 3 pages, with the first page refering to the other two, and the last referring back to the first one. Only the last one going back sends the user back directly.

I want to prevent the kobo engine from parsing the anchor links as footnotes, but nothing I do seem to work. Epub-type tags seem to have no effects, for example.

I hope anyone here has any idea.
LPolder is offline   Reply With Quote
Old 08-10-2025, 02:55 PM   #2
neclepsio
Member
neclepsio began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Oct 2024
Device: Kobo Libra Colour
If I remember correctly, I solved it by adding a lot of hidden text at the link target.
neclepsio is offline   Reply With Quote
Old 08-10-2025, 03:41 PM   #3
LPolder
Junior Member
LPolder began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2025
Device: Kobo Libra 2
Right now I formatted the href as follows: "page.xhtml#section?id=dummy"
Now I added the ?id=dummy the kobo reader seems to parse the link correctly so the user gets redirected directly, but i have no idea why.

I still need to test if this works consistently, but it seems like a simpler solution!

Last edited by LPolder; 08-10-2025 at 03:45 PM.
LPolder is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Increasing font size of Footnote Preview foosion Kobo Developer's Corner 5 08-18-2024 06:41 PM
Aura ONE Footnote Links Ashjuk Kobo Reader 9 05-28-2022 09:45 AM
Links of ebook jump to FootNote in kindle preview or kindle. njpig Recipes 7 06-16-2021 02:12 AM
Footnote Preview Stevex Kobo Reader 2 07-19-2018 12:09 PM
Glo hide the footnote / endnote text shown in note preview fxp33 Kobo Reader 3 05-04-2013 08:11 PM


All times are GMT -4. The time now is 04:30 PM.


MobileRead.com is a privately owned, operated and funded community.