#1 by martin
Hi all, I'm planning to design an app in the same vein as Mouselab. The idea is that there are boxes that reveal their content only when the mouse pointer is on top of them. The interface relies mostly on JS. Before staring to devleop it myself I've looked for previous implementatios but failed to find any. Does anyone know any related app? Best, Martin
#2 by ChristianK
Hi Martin, I wrote something similar a few years ago. This code tracks which elements the mouse hovered over: https://github.com/chkgk/otree_element_tracker In general, if the interface is mostly JS, it should not be a problem to track movements / reveal or hide elements when they are hovered. The problem is usually how to store the tracking data in a convenient and how to sync it to the server such that it does not get lost on a page-reload etc. Best Christian