Microsoft KB Archive/176900

= FP98: Hover Button Previews as a Gray Box =

Article ID: 176900

Article Last Modified on 6/27/2007

-

APPLIES TO


 * Microsoft FrontPage 98 Standard Edition

-



This article was previously published under Q176900



SYMPTOMS
When you view a page in a Web browser that contains a hover button, the component is displayed as a gray box. In addition, you will see one of the following error messages in the Microsoft Internet Explorer status bar:

Load: class fphover not found.

-or-

Exception: Java.Lang.ArraystoreException

-or-

Exception: com.ms.securityExceptionEx[fphover.init]: cannot access file /C:/myweb/progressive.jpg.

In Netscape Navigator you will see the following error message:

Applet fphover can't start: class fphover not found.

-or-

Applet Fphover can't start: exception: java.lang.NullPointerException.



CAUSE
This behavior occurs when one of the following conditions are true:   You create a page in FrontPage Editor without using FrontPage Explorer.

-or-

The Java Virtual Machine in Internet Explorer 4.0 displays Java controls at a color depth of 32-bits per pixel.

-or-

You are using a custom image for your hover button, and your Web is a disk-based Web.



WORKAROUND
To work around this behavior, use one of the following methods.

Method 1: Include Your Page in a Web
To include your page in a web, follow these steps:
 * 1) Start FrontPage Explorer.
 * 2) On the File menu, click Open FrontPage Web.
 * 3) In the Getting Started dialog box, click More Webs.
 * 4) In the Open FrontPage Web dialog box, type the path for your Web, and then click List Webs.
 * 5) Select your Web. When you receive the following message, click Yes:

FrontPage needs to convert this folder into a new FrontPage Web by adding the files and folders necessary to support FrontPage features.

Do you want to convert this folder to a FrontPage Web?
 * 1) Select the folder that contains your Web, and then click OK.
 * 2) In FrontPage Explorer, double-click the page on which you want to insert the Hover Button. The page will open in FrontPage Editor.
 * 3) On the Insert menu, point to Active Elements, and then click Hover Button.
 * 4) On the File menu, click Save.

When you click the Preview tab or use the Preview In Browser command on the File menu, You will see the active element rather than a gray box.

Method 2: Reduce the color depth to less than 32-bits per pixel
To reduce the color depth to less than 32-bits per pixel, follow these steps:
 * 1) On the Windows Start menu, point to Settings, and then click Control Panel.
 * 2) Double-click the Display icon.
 * 3) Click the Settings tab.
 * 4) In the Color Palette list, select a value other than 32-bit color.

Method 3: Upgrade to Internet Explorer 4.01.
To upgrade to Microsoft Internet Explorer 4.01 or later, please visit the following location on the Microsoft World Wide Web site:

http://www.microsoft.com/ie

Method 4: Server based web or custom image
Publish your web to a server-based web or do not use a custom image for your button.



MORE INFORMATION
For additional information about why some components require a Web server, click the article number below to view the article in the Microsoft Knowledge Base:

173437 FP98: Some FrontPage Components Do Not Work on Disk-Based Webs

For additional information about publishing your Web to a server, click the article number below to view the article in the Microsoft Knowledge Base:

161414 FP: How to Publish a FrontPage Web to the Internet, Intranet

For additional information about Hover buttons, click the article number below to view the article in the Microsoft Knowledge Base:

178483 FP98: Hover Buttons and Banner Ads Show Class Not Found

Additional query words: _fpclass Hover Buttons FrontPage Editor

Keywords: kbdownload kbbug KB176900

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.