Hi everyone
I have a problem. I am trying to add mouseout and mouseover event to flash object using document.write so that I can show or hide text when someone rollover on flash but I am not sure how to do that? Please check my code and make any necessary changes to it. Please help me.
Thanks
I have a problem. I am trying to add mouseout and mouseover event to flash object using document.write so that I can show or hide text when someone rollover on flash but I am not sure how to do that? Please check my code and make any necessary changes to it. Please help me.
Thanks
Code:
<script language="JavaScript" type="text/javascript"> function CngTxt(id,txt){ var obj=document.getElementById(id); if (txt){ obj.innerHTML=txt; } else { obj.innerHTML=''; } } </script>
Code:
document.write("onMouseOver=\"CngTxt('Txt','Topic 2');\""); document.write("onMouseOut=\"CngTxt('Txt');\"");
Code:
<div id="Txt" class="menutextbox"></div>
Comment