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?

6 Years
Discussion Span
Last Post by niranga

Define a CSS class and add to each section in the main document. So you can identify the elements in the main document as the sections


Thanks, I solved the problem using tag map and using getelementbyid onmouseover.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.