Is there an event listener solution/ or some kind of way to make change on variable to affect some element?

Shimon Shomron shared this question 3 years ago
Answered

If to be specific - what i'm trying to achieve is having cross-screens variable (logged-in / not-logged-in) and elements on the page to be influenced by that variable value.


I can do it only on page load or unload - however I need it to act as a listener - since the value of the variable can be changed without moving to other screen.


Thanks.

Comments (1)

photo
1

Hi Shimon,


This is definitely possible with conditional events. For example, you can have an on-click event that detects whether or not the user is logged in through a variable. If that variable equals a certain value, it will link to a certain page.


If this is unclear, feel free to send us your prototype over at jim.support@justinmind.com and we can help implement these events.


Best,


Danielle