Freigeben über


Splash

Displays an image for a specified number of seconds when the file that contains the HTML Help ActiveX control is opened. For example, using the Splash command, you could display a product logo or welcome message when a compiled help (.chm) file or Web page is first opened.

This command can be used with either a compiled help file or uncompiled HTML files.

Syntax

<PARAM  name="Command" value="Splash">
<PARAM  name="Item1"   value="<i>image file path</i>">
<PARAM  name="Item2"   value="<i>millisecond value</i>">
[<PARAM name="Item3"   value="<i>alternate image file path</i>">]

Properties

Command

Calls the Splash command.

Item1

Specifies the image file path. Supported image file formats are .gif, .jpeg, or .bmp.

Item2

Specifies the length of time to display the image in milliseconds (1000 milliseconds = 1 second).

Item3

Specifies an alternate image file to display if the user's display configuration supports more than 256 colors. Optional.

Example

<OBJECT
   id=splash
   type="application/x-oleobject"
   classid="clsid:52a2aaae-085d-4187-97ea-8c30db990436"
   codebase="Hhctrl.ocx#Version=5,02,3790,1194"
>
   <PARAM name="Command" value="Splash">
   <PARAM name="Item1" value="test.gif">
   <PARAM name="Item2" value="5000">
</OBJECT>

Sample Splash command

Click here to see a Splash screen.

Remarks

  • You should insert the HTML Help ActiveX control between the <BODY> start and end tags of the file. Use of the control within the <FRAMESET> start and end tags is currently not supported. If you want to use the Splash command with a frameset, insert the control within the default HTML file that is specified in the frameset document.

About Commands