FP2000: Collapsing and Expanding Outlines Using OnMouseOver Event (208644)



The information in this article applies to:

  • Microsoft FrontPage 2002
  • Microsoft FrontPage 2000

This article was previously published under Q208644

For a Microsoft FrontPage 98 version of this article, see 193062.

SUMMARY

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

MORE INFORMATION

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. 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()">


Modification Type:MajorLast Reviewed:6/18/2005
Keywords:kbhtml kbinfo KB208644