Two changes:
First, change
<td width="216" style="border-top-style: none; border-top-width: medium;
text-align:center">
<div style="position: absolute; width: 213px; height: 146px; z-index: 1;
to
<td width="216" style="border-top-style: none; border-top-width: medium;
text-align:center">
<div style="position:relative;">
<div style="position: absolute; width: 213px; z-index: 1;
And change
</td> to </div></td>
This will fix the position of the layer relative to the image, rather
than relative to the top left of the browser. Any changes in browser
width or font size instigated by the user will cause the layer to appear
to move around the page if this change is not made.
Also notice I removed the height attribute from the layer. If you
restrict the height then, if the user changes the text size (and users
will do this) the text will either overlap text lower down the page, or
the text will be cut off - either way it will be unreadable.
2nd change:
Add a link to the layer text that closes (hides) the layer, and remove
the onmouseout from the image. The problem here is that when you hover
over the image the layer opens and effectively you have moused out from
the image, closing the layer - and hence the flicker.
Change:
<a href="javascript:;">
<img border="0" src="../speakers/steve.jpg" width="216" height="287"
style="cursor: pointer"
onmouseover="FP_changeProp(/*id*/'layer1',0,'style.visibility','visible')"
onmouseout="FP_changePropRestore()"></a>
to
<a href="javascript:;">
<img border="0" src="../speakers/steve.jpg" width="216" height="287"
style="cursor: pointer"
onmouseover="FP_changeProp(/*id*/'layer1',0,'style.visibility','visible')"></a>
And add a link to the layer text, similar to:
<a href="javascript:;"
onclick="FP_changeProp(/*id*/'layer1',0,'style.visibility','hidden')"
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
http://www.rxs-enterprises.org/fp