This is my problem:
I have a menu where I use "link visu-object" to open different page.
When I open a page the image of the "link visu-object" change in "pressed" and is correct. Inside this page I have a sub-menu with 3 pages using "link visu-object".
Now when I pressed a sub-menu page the related "link visu-object" change in "pressed too, but the "link visu-object" of the main menu returned with the image "not pressed".
Now I tryed to put, in the sub-menu page, the same "link visu-object" of the menu with the images reversely but the effect is horrible, when you change page the image of the "link visu-object" of the menu flash few times.
So I would like to change the background color of the "link visu-object" when a page is opened, so I don't have to use multiple "link visu-object" one above the other and I will resolve the flashing images that are changing
Hope you can understand, because it's hard to explain, sorry
(08.10.2019, 13:10)buuuudzik Wrote: You can add js script and update some object whenever you open a page maybe with some filter to not updating too often. Then you can check color some icon based on how much time elapsed from last update.
How can I add a js script when I open a page?