View Single Post
Old 09-15-2015, 05:56 AM   #6
ni_c
Enthusiast
ni_c began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Jul 2015
Device: none
Um lol, just discovered the increadibly simple alternative to my method in the OP, not that mines useless, but the alternatives just FAR simpler and should be the default method when adding urls to non-pdf ebooks. Its simply using the title feature

so for a normal wrapped url like
<a href="http://www.example.com">example</a>

just add the same url as a title like
<a href="http://www.example.com" title="http://www.example.com">example</a>

Also for the purpose of cross compatibility, pdf links can act as notes too, same as the title feature, but using the href, and the only requirement is they start with a letter or letters (certain symbols like a dash - are ok too) and be capped before any blank spaces with a colon :

eg the following will show the same note in both pdfs and other ebooks

<a href="-: important instructions on blinking" title="important instructions on blinking">message popup</a>

and the pdf requirement for it starting with a character + colon can be masked using the method "note: blablabla"

Last edited by ni_c; 09-15-2015 at 06:26 AM.
ni_c is offline   Reply With Quote