| |
| 1 |
<html> |
| 2 |
<head> |
| 3 |
<title>link box</title> |
| 4 |
<style> |
| 5 |
#messageBox{ |
| 6 |
border-right: 1px solid #000000; |
| 7 |
position: absolute; |
| 8 |
width: 217px; |
| 9 |
height: 100px; |
| 10 |
z-index: 1; |
| 11 |
background-color: #C0C0C0; |
| 12 |
border-style: solid; |
| 13 |
border-width: 1px; |
| 14 |
display:none; |
| 15 |
} |
| 16 |
#closeButt{ |
| 17 |
width: 100%; |
| 18 |
height: 10px; |
| 19 |
z-index: 1; |
| 20 |
cursor: pointer; |
| 21 |
left: 0px; |
| 22 |
top: 0px; |
| 23 |
background-color: #808080; |
| 24 |
} |
| 25 |
#contents{ |
| 26 |
width: 100%; |
| 27 |
height: auto; |
| 28 |
z-index: 2; |
| 29 |
} |
| 30 |
</style> |
| 31 |
<script language="javascript"> |
| 32 |
function show(obj,msg){ |
| 33 |
messageBox.style.top=obj.offsetTop |
| 34 |
messageBox.style.left=obj.offsetLeft+obj.offsetWidth+5 |
| 35 |
contents.innerHTML=msg+"<p>"+obj.href |
| 36 |
messageBox.style.display="block" |
| 37 |
} |
| 38 |
</script> |
| 39 |
</head> |
| 40 |
|
| 41 |
<body> |
| 42 |
|
| 43 |
<p><a onmouseover="show(this,'reviewers')">Reviewers</a></p> |
| 44 |
|
| 45 |
<div id="messageBox"> |
| 46 |
<div onclick="messageBox.style.display='none'" id="closeButt">x Click to close</div> |
| 47 |
<div id="contents"></div> |
| 48 |
</div> |
| 49 |
</body> |
| 50 |
</html> |
|
|
|
|
| |