Java Applets Are Not Displayed Correctly in FrontPage Preview (325055)



The information in this article applies to:

  • Microsoft Office FrontPage 2003
  • Microsoft FrontPage 2002

This article was previously published under Q325055

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.

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.

Modification Type:MinorLast Reviewed:1/7/2006
Keywords:kbbug kbfix KB325055