Quantcast
Channel: Symantec Connect - Endpoint Management
Viewing all articles
Browse latest Browse all 7163

JS onmouseover custom event

$
0
0
I need a solution

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.


Viewing all articles
Browse latest Browse all 7163

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>