M
M
MeinJun2020-04-27 16:18:57
JavaScript
MeinJun, 2020-04-27 16:18:57

How to track how long the cursor is over the link?

There is a page with two frames. In the first site. How to display four variables in the second frame with the link itself and the time the cursor was above it , as well as the time of transition and exit from the link area (!From the FIRST frame!) . And, if there are more than 1 such operations, then form them into 4 arrays, where the links are stored in the first one, the time the cursor is over it in seconds, the third is the transition time, and the fourth is the exit time, respectively. (The data is needed in order to draw a graph based on it later)

I mentally understand that I need to use onmouseover and onmouseout + counter, but I can’t find examples.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shsv382, 2020-04-27
@shsv382

(off-topic) in 2020 does anyone else use frames???

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question