Expand/Collapse Text

  • Thread starter Thread starter Arlene
  • Start date Start date
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
 
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>
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top