FP2000: Collapsing and Expanding Outlines Using OnMouseOver Event

ID: Q208644


The information in this article applies to:


SUMMARY

This article describes how to use the OnMouseOver event rather than the OnClick event with collapsible outlines created in FrontPage.


MORE INFORMATION

Microsoft Technical Support will not resolve problems produced by editing the HTML that FrontPage generates. This HTML Code sample is provided as a convenience for authors seeking to extend the capabilities of FrontPage. For more information about writing HTML, please see the following Microsoft Web site:

http://www.microsoft.com/workshop/c-frame.htm#/workshop/author/default.asp

WARNING: ANY USE BY YOU OF THE HTML PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this HTML "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.


By default, FrontPage uses the OnClick event with collapsible outlines. You can have the outlines collapse and expand when the mouse passes over the collapsible outline if you run the dynOutline() procedure when the mouse passes over a line item. To do this, follow these steps:
  1. Start FrontPage and create the collapsible outline.

    For more information about collapsible outlines, click Microsoft FrontPage Help on the Help menu, type To create a collapsible outline in the Office Assistant or the Answer Wizard, and then click Search to view the topic.


  2. Click the HTML tab.


  3. Find the following line of code:
    <body onclick="dynOutline()">


  4. Change the code so that it looks the following:
    <body onmouseover="dynOutline()" onclick="dynOutline()">


Additional query words: 98 front page


Keywords          : kbhtml fphtml fpactive fpscript 
Version           : WINDOWS:
Platform          : WINDOWS 
Issue type        : kbinfo 

Last Reviewed: July 28, 1999