I don't know if what I am looking for may be possible. I need a script (for a epub3 ebook) to apply the property "display: none" or "display: block" with regards to a paragraph, according to the position on the screen of that paragraph. That position will be variable, according to the font size choosen by the user; if the position of the paragraph is in the lower half of the screen (50% or higher), the paragraph must be hidden, otherwise (50% or lower) the paragraph must be visible. Can this be achieved? If so, how?
Many thanks in advance for any info you can give me.
Regards
Rubén