I am currently working on a project involving replicating user actions from one browser to another.
Both users are viewing the same page. I have set up an environment where the mouse movements of one user can be transferred to another browser (both users can see their own mouse cursor and that of the other user). The other user is able to witness movement and clicks, and when someone clicks on a link, both browsers navigate to the same URL.
Currently, I have a CSS/JavaScript menu on the page and I am interested in transferring hover actions as well (when one user hovers over a menu link, the other user will also see the hover action reflected on their page).
Does anyone have any suggestions on what I should monitor and send to the other browser to trigger the same event there? I am using jQuery for this project.
UPDATE
Using hovering as an example was just to illustrate my point - my goal is to capture every CSS/JavaScript action on the page, regardless of whether it involves hovering, entering text, or changing the state of radio buttons.
I need to effectively listen to each element on the page and determine what actions are taking place so I can transfer and replicate them on the other side.