Insert a script

The scripts included with AceHTML are kindly supplied by Visicom Media Inc. and independent authors. According to agreements made with the latter, you are free to use the scripts in your HTML documents. However, the notice on the authors rights that appear on some scripts, must be kept.

JavaScripts as well as Dynamic HTML, or DHTML, allows adding dynamic elements to a page. This tool integrates the use of JavaScript and HTML code and thereby provides a particular behavior for each element in a Web page. Sometimes DHTML uses style rules for greater uniformity and higher effectiveness to use special effects provided by style sheets and HTML code.

  1. On the Scripts tab click on the button of the script you want to insert. A definition window is displayed.

From this window you can also display scripts belonging to a different category.

The definition window is divided in two panels and has two tabs:

Scripts tab

The right panel displays a list of files or available scripts.

  • When a script is selected in the right panel, the left panel displays the related parameters. Text has already been inserted and all you need to do is change it.

  • The lower part of the window has a field that changes according to the type of parameter. This field is used to change the parameter’s value.

Some of the DHTML effects are Internet Explorer extensions and will only be displayed in that browser.

Preview tab

Here you can preview the effect of the script you have selected.

You can change categories by clicking on the icon of the main folder.

To insert a script:

  1. Regardless of the script that you choose, the procedure to insert it is the same.

  2. Display the script’s definition window.

  3. In the right side window, select the desired effect. The left side window now displays the parameters associated related to the selected effect.

  4. In the left window, select the parameter you want to change. An icon to the left indicates the type of value that can be added. An example of this value is displayed in the corresponding column and at the bottom of the display.

  5. Make the necessary changes:

texte.gif text

Enter text directly in the entry field at the bottom of the window.

nombre.gif Number

Enter the corresponding number in the entry field at the bottom of the window.

lien.gif Image
Link to file
URL to the Web

Click on the Open Files icon at the bottom of the window to select a file from your drive, or
enter the URL in the text box.

iconecouleur.gif Color

Click on the Color button on the right side window in order to display the color palette and choose a color.

Add item

When this button appears at the bottom of a list of parameters, this indicates that an item can be added, removed or modified.

Delete item

When this button appears at the bottom of a list of parameters, this indicates that an item can be added, removed or modified. The Delete button is only active for parameters that you have defined yourself.

  1. When you have finished making changes to the parameters, click on OK to return to the edit window.

  2. The script is inserted at the location where you placed the cursor before performing the above steps.