So I have two components. Component 1: ImageComponent Component 2: PanelComponent(Control ID: 2)
Custom Events Component 1: var showpanel = document.getElementById("2");
showpanel.style.visiblity = "visible"
In debug mode, when I mouse over the imagecomponent the panel does not do anything. I set it's visibility to False, and nothing happens. I've kept it true and nothing happens. I know that mouseover is working because the below script opened up a new page with the value of div.
var showpanel = document.getElementById("2");
if (showpanel) {document.write(showpanel.nodeName)};
I'm a novice at JS so I'm sure that something is not being done correctly. FYI I'm going to have multiple images on the screen, and when onmouseover event occurs I want a panel, label, popup of sorts to show information about the specific image.