D
Diane Alsing
I have a page that has words that needs some clarity. Instead of having them
link to a document with definitions, I would like when the user put his/her
mouse over the word/link to have the definition come up in a little box. I
thought I was close with the following code, but it's not right. Any help
would be greatly appreciated.
<head>
<style>
#var { position: relative;
top: 10px;
left: 5%;
background-color: orange;
visibility: hidden
}
</style>
</head>
<body>
This is a test for a <a href="#var"
onMouseOver="document.all.var.style.visibility='visible'"
onMouseOut="document.all.var.style.visibility='hidden'">
define var</a>
<div id="var">
This is the definition of VAR
</div>
</body>
Regards,
Diane
link to a document with definitions, I would like when the user put his/her
mouse over the word/link to have the definition come up in a little box. I
thought I was close with the following code, but it's not right. Any help
would be greatly appreciated.
<head>
<style>
#var { position: relative;
top: 10px;
left: 5%;
background-color: orange;
visibility: hidden
}
</style>
</head>
<body>
This is a test for a <a href="#var"
onMouseOver="document.all.var.style.visibility='visible'"
onMouseOut="document.all.var.style.visibility='hidden'">
define var</a>
<div id="var">
This is the definition of VAR
</div>
</body>
Regards,
Diane