Hiya. I'm pretty new to javascript programming so bear with me.
I am using some code in a DHTML help file for an application. I want to have popups when the user moves over a link so i can have a breif description.
I have the code sorted to get the popup
but i cant get the popup to disappear afterwards. I assume it'll be on the onmouseout argument of the anchor but i dont know what the javascript command is.
Can anyone help
Thanks all
Heres the full html page for refercnce
I am using some code in a DHTML help file for an application. I want to have popups when the user moves over a link so i can have a breif description.
I have the code sorted to get the popup
Code:
<A href="mainpage.htm" onmouseover="JavaScript:popup.TextPopup(strText,strFont,9,9,-1,-1)" >Main Menu</A>
but i cant get the popup to disappear afterwards. I assume it'll be on the onmouseout argument of the anchor but i dont know what the javascript command is.
Can anyone help
Thanks all
Heres the full html page for refercnce
Code:
<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>ARC Help File: Contents</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script Language="JavaScript">
strFont="Arial,10,,plain"
strText="This is a pop-up window."
</script>
<object id="popup" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"></object>
</head>
<body>
<h3> Contents</h3>
<A href="mainpage.htm" onmouseover="JavaScript:popup.TextPopup(strText,strFont,9,9,-1,-1)" >Main Menu</A>
<hr>
</body>
</html>