Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FP2000: Collapsing and Expanding Outlines Using OnMouseOver Event


View products that this article applies to.

This article was previously published under Q208644

For a Microsoft FrontPage 98 version of this article, see 193062 (http://support.microsoft.com/kb/193062/EN-US/ ) .

↑ Back to the top


Summary

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

↑ Back to the top


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

↑ Back to the top


Keywords: KB208644, kbinfo, kbhtml

↑ Back to the top

Article Info
Article ID : 208644
Revision : 4
Created on : 1/23/2007
Published on : 1/23/2007
Exists online : False
Views : 497