I am trying to create something like a point and click adventure. So I have a “look at” button and when I click on it the cursor changes to eyes. I would like wherever I click with the “eye cursor” to display a message. I am not sure how to do it though.
The Demo uses the same “maskTextPopup” function for the “Mouse Over” & “Mouse Out” events.
The Mask is given an ID of “mask_01” and the text pop-up that appears/disappears on Mouse Over/Out is given the ID of “mask01_Clue”.
So when the cursor is set to “eyes” and it hovers over the “Mask” the corresponding pop-up text appears or disappears as appropriate.
This function will work for other elements as well… just make sure that the name of the “mouse over/out” target and the corresponding text pop-up are set to the same name pattern as in this example.
Sorry for my late reply. Thank you so much for your help. I really appreciate it. I would never think something like this, the code and the solution seems really advanced for my skills.