Expand/Collapse Text

A

Arlene

Is there a way to create hyperlinks (I think that's what they are) so that
when a word is clicked, it expands text, for example, to see a definition of
a word or whatever? This is a nice way to keep pages uncluttered. Microsoft
uses this in their Help feature all the time to add a definition. They also
use the Show All button at the top of help screens to expand all text at
once. All help greatly appreciated.

Arlene
 
M

MD WebsUnlimited.com

Hi Arlene,

If I understand what is being referred to here you'd use CSS to modify the
display attribute of a span or layer (div), eg.

<span onmouseover="document.all('def1').style.display='inline'"
onmouseout="document.all('def1').style.display='none'" >This is some text
<span id="def1" style="display: none">This is in visable text</span> This is
shown</p>
 
A

Arlene

Hi, and thank you. I don't know html really at all, but I'll try
experimenting with the code you provide. So you don't believe that FrontPage
has such a feature on a menu or button somewhere?

Arlene
 
Top