D
Don Dean
Hi all.
I set up some text and then used Behaviors to make the text Bold with a
mouseover and then restore it to normal with a mouseout and this worked fine.
Then I created a layer to contain some information, set it's visibility to
hidden, and used Behaviors to display the layer with a mouseover on the text
and wanted it to disappear again with a mouseout.
Now what happens is that the text goes bold and the layer appears with a
mouseover on the text (which is what I want) but with a mouseout, the layer
disappears, which is good, but the text stays bold, which is not good.
Does the "restore property" only work for one property at a time.
Anyone know how to restore multiple properties with Behaviors?
Thanks.
Heres the HTML:
<p id="id2" onmouseout="FP_changePropRestore()"
onmouseover="FP_changeProp(/*id*/'id2',1,'style.fontWeight','bold');
FP_changeProp(/*id*/'layer7',1,'style.visibility','visible')">
Show Information Box</p>
<div style="position: absolute; width: 205px; height: 45px; z-index: 2;
left: 210px; top: 2390px; visibility: hidden; border: 1px solid #000000;
padding: 10px; background-color: #FFFF99" id="layer7">
<p align="center">Place information in this box.</div>
I set up some text and then used Behaviors to make the text Bold with a
mouseover and then restore it to normal with a mouseout and this worked fine.
Then I created a layer to contain some information, set it's visibility to
hidden, and used Behaviors to display the layer with a mouseover on the text
and wanted it to disappear again with a mouseout.
Now what happens is that the text goes bold and the layer appears with a
mouseover on the text (which is what I want) but with a mouseout, the layer
disappears, which is good, but the text stays bold, which is not good.
Does the "restore property" only work for one property at a time.
Anyone know how to restore multiple properties with Behaviors?
Thanks.
Heres the HTML:
<p id="id2" onmouseout="FP_changePropRestore()"
onmouseover="FP_changeProp(/*id*/'id2',1,'style.fontWeight','bold');
FP_changeProp(/*id*/'layer7',1,'style.visibility','visible')">
Show Information Box</p>
<div style="position: absolute; width: 205px; height: 45px; z-index: 2;
left: 210px; top: 2390px; visibility: hidden; border: 1px solid #000000;
padding: 10px; background-color: #FFFF99" id="layer7">
<p align="center">Place information in this box.</div>