Forum Discussion
StefanKoler-a6f
8 months agoCommunity Member
JavaScript - Change state, if cursor position is within xMin/xMax of Object.
Hi, I am trying to create a visual indicator for a table so that learners see in which collumn and row the cursor currently is.
I created an object for each collumn and row. Now I am trying to...
Nathan_Hilliard
8 months agoCommunity Member
Perhaps you were looking for this effect:
https://360.articulate.com/review/content/219630e2-65b9-46be-8015-4a7cf31fd0aa/review
If so, see the modified code in your attached project file.
As Nedim mentioned, you have some errors in your original code. Also, you may want to include the outlines into the states for simplicity. I did not directly reference the DOM elements in the example, and the object().style parameter will not adjust the outlines of the slide objects because of how they are formed.
StefanKoler-a6f
8 months agoCommunity Member
Thank you Nathan, that is excactly what I was trying to acchieve :-)