Hello,
I am new to javascript and am aware that this topic is well documented, but not in the way I need the script to work?
I am able to show/ hide a div using the the following:
function toggleMe(a){
var e=document.getElementById(a);
if(!e)return true;
if(e.style.display=="none"){
e.style.display="block"
} else {
e.style.display="none"
}
return true;
}
With a link using:
<a href="#" onClick="return toggleMe('flashOverlay')">Info</a>
The problem I have is that I need to toggle this script with a link in Flash MX, which will not allow me to use "onClick=". Is it possible to have the div show/hide via <a href></a> only?
Thanks in advance