FrontPage 2002 Script

  • Thread starter Thread starter Guest
  • Start date Start date
AndyK said:
How do I insert a mouse over text heading that will give a paragraph
of information?

Here is some simple code to do it.

You may want to position the <div> containing the text somewhere else. This
can be done with some extra code.

<html>
<head>
<script type="text/javascript">
function hideit(elid,hide)
{ document.getElementById(elid).style.display=(hide != "show")? "none"
:"block"}
</script>
</head>
<body>
<h3 align="center" onmouseover="hideit('row1','show')"
onmouseout="hideit('row1','hide')">heading text </h3>
<div>
<table border="1">
<tr>
<td id="row1" style="display:none">
Full description<br>
Blah blah blah <br>
Blah blah blah <br>
Blah blah blah <br>
</td>
</tr>
</table>
</div>
</body>
</html>

--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
----------------------------------------
 
Back
Top