Hi all,
I have the following problem:
I have 4 documents whose text is divided into blocks of text, hereafter called section. One of the documents is the main document, and the sections from the other documents are related to the sections of the main document. The main goal is when I roll the mouse over across sections in the main document, related sections in the other documents will appear highlighted.
So far I had no problem with the highlight functions, but I can´t find a way to identify blocks of text in the main document, just by the coordinates of the mouse. Note that a section may not be a paragraph or even a full sentence.
Can anyone help me how can I identify these blocks of text in javascript?