FP98: Collapsing and Expanding Outlines Using OnMouseOver Event (193062)



The information in this article applies to:

  • Microsoft FrontPage 98 for Windows

This article was previously published under Q193062

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()">


Modification Type:MajorLast Reviewed:12/1/2000
Keywords:kbhtml kbinfo KB193062