Microsoft KB Archive/222959

LM1: How to Change Color of the Animation Loading Status Bar

PSS ID Number: Q222959 Article last modified on 05-25-1999

WINDOWS:1.0

WINDOWS

================================================================ ==

The information in this article applies to:

 == Microsoft Liquid Motion for Windows 1.0 == 

= SUMMARY =

This article describes how to change the color of the Animation Loading Status bar. This bar is displayed by your Web browser before the animation is played.

= MORE INFORMATION =

The Animation Loading status bar indicates the download progress of the media files of an animation. Media files are the non-native elements of a Liquid Motion animation (such as sound, graphic, or 3D files). The status bar cannot be disabled, but the color of it can be changed.

Liquid Motion sets the status bar color to either black or white depending on how you publish the animation with the Publishing Wizard. A parameter is available to change the status bar to other colors when they are displayed by Java compatable browsers. See the appropriate sections in the following instructions on how to change the status bar color for animations.

Black or White Status Bar Color via Publishing Wizard
The Publishing Wizard presents options to specify a filename and background color for an animation’s resulting HTML file if an animation is published to local disk, FTP server or to a new folder in a FrontPage 98 web. If you choosing black as the background color for the HTML page, you will get an animation with a white status bar. Any other background color that you chose from this option will produce a black status bar for an animation.

To creating an animation with a black status bar, follow these steps:


 * 1) Create new animation in Liquid Motion.
 * 2) On the File menu, click Publish As….
 * 3) Click to select the Local Disk, FTP Server, or FrontPage 98 (or newer) Web publishing option.
 * 4) From the Publishing Wizard screen, which prompts you for an HTML filename and background color, select any color for the background except black.

To create an animation with a white status bar, follow these steps:


 * 1) Create new animation in Liquid Motion.
 * 2) On the File menu, click Publish As….
 * 3) Click to select the Local Disk, FTP Server, or FrontPage 98 (or newer) Web publishing option.
 * 4) From the Publishing Wizard screen, which prompts you for an HTML filename and background color, select black for the background.

Specifying Status Bar Color with the Java-applet Parameter
If you are viewing the animation in Java-compatable browsers, the Animation Loading status bar can be changed to additional colors. You can do this by modifying a parameter for the java applet that hosts Liquid Motion animations in Java-compatable browsers. Note that Microsoft Internet Explorer 4.x and greater uses DirectDraw functions to play Liquid Motion animations and is not affected by java applet parameters.

To change the color of the loading status bar, change the “splashColor” parameter in the animation’s HTML applet code. This parameter specifies a color value for the loading status bar in the same format as colors in HTML (a 6-digit hexadecimal number, RRGGBB). Example HTML applet code:

{    document.write( '' ); document.write( ' ' ); document.write( ' ' ); document.write( '' ); document.write( '' ); } Change the VALUE in the following applet code line to the desired color value:

“”

Unlike color attributes in standard HTML, for the applet tag, the color VALUE should NOT contain a “#” (e.g., HTML color = “#FF0000”, applet VALUE=“FF0000”). Save the change to the HTML file and then open in a Java-compatable browsers to see the modified color of the status bar.

Common colors and their equivalent hexadecimal numbers: +——————–+ | Color | Hex value | +——————–+ | Yellow | ffff00 | +——————–+ | Blue | 0000ff | +——————–+ | Green | 008000 | +——————–+ | Red | ff0000 | +——————–+

Additional query words:

=
========================================================= Keywords : kbdta Version : WINDOWS:1.0 Platform : WINDOWS Issue type : kbhowto ============================================================================= Copyright Microsoft Corporation 1999.