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.

Java Applets Are Not Displayed Correctly in FrontPage Preview


View products that this article applies to.

This article was previously published under Q325055

↑ Back to the top


Symptoms

When you preview a Web page that contains a hover button or other Java applet in Microsoft FrontPage, these components may not behave as expected. When you preview these same pages in your Web browser, they do behave as expected.

Note Microsoft Office FrontPage 2003 does not have the functionality to generate hover buttons. However, FrontPage 2003 does display hover buttons if they exist in a Web page.

↑ Back to the top


Workaround

To work around this issue, follow these steps to edit the Java applet in HTML view:
  1. Open your Web page in FrontPage, and then click HTML to change to HTML view.

    For example, the Java applet has coding similar to the following:
    <applet code="fphover.class" codebase="fpweb:///." width="120" height="24">
    
     <param name="text" value="Button Text">
    
     <param name="color" value="#000080">
    
     <param name="hovercolor" value="#0000FF">
    
     <param name="textcolor" value="#FFFFFF">
    
     <param name="effect" value="glow">
    
    </applet></p>
    						
  2. Remove the following from the Java code:
    codebase="fpweb:///."
    					
  3. Save your Web page.
  4. Click Preview.

↑ Back to the top


Keywords: KB325055, kbfix, kbbug

↑ Back to the top

Article Info
Article ID : 325055
Revision : 4
Created on : 2/1/2007
Published on : 2/1/2007
Exists online : False
Views : 329