FP98: Collapsing and Expanding Outlines Using OnMouseOver Event

ID: Q193062


The information in this article applies to:


SUMMARY

This article describes a method for using the OnMouseOver event rather than the OnClick event with collapsible outlines created in FrontPage.


MORE INFORMATION

By default, FrontPage uses the OnClick event with collapsible outlines. However, by modifying the HTML code in FrontPage Editor, you can have the outlines collapse and expand when the mouse passes over the collapsible outline. To do this, run the dynOutline() procedure when the mouse passes over a line item in the outline. To run the dynOutline() procedure when the mouse passes over a line item, follow these steps:

  1. Start FrontPage Editor and create the collapsible outline.

    For more information about how to do this, click the Index tab in FrontPage Help, type the following text
    outlines
    and then double-click the selected text to go to the "To create a collapsible outline" topic.


  2. Click the HTML tab at the bottom of the FrontPage Editor window.


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


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


Additional query words: 98 front page


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

Last Reviewed: July 30, 1999