14.4.  Slice

Revision History
Revision $Revision: 2442 $ 2008-04-05 ude

Most options are self-explanatory, but nevertheless:

Path for HTML export

Where the HTML file and the image files will be saved. By default these files will be stored in the current working directory. Clicking on the buttom to the right opens a pull-down menu, where you can select a different location.

Filename for export

The name of the HTML file. You can change the filename using the textbox.

Image name prefix

The name of an image file produced by this filter is prefix_i_k.ext, where prefix is that part of the filename which you can freely select using the textbox to the right, by default: slice. (i and k are the numbers of the row and the column, each starting with 0; .ext is the filename extension depending on the selected Image format.)

This option is particularly useful when you want to create Javascript for onmouseover and clicked and need different sets of images.

Image format Format de l'Image

You can choose to create image files in the GIF, JPG, or PNG file format.

Separate image folder; Folder for image export

When Separate image folder is enabled, a folder will be created where the image files will be placed. By default, the name of this destination folder is images, but you can change it in the Folder for image export textbox.

Space between table elements

This value (0-15) will be passed as “cellspacing” attribute to the HTML table. The result is, that horizontal and vertical guides will be replaced with stripes of the specified width:

Note that the image will not be enlarged by the size of these stripes. Instead, the resulting HTML image will look like you have drawn the stripes with the Eraser tool.

Javascript for onmouseover and clicked

When this option is enabled, the filter will also add some JavaScript code. Like the HTML code, this code does not work as is, rather it's a good starting point for adding some dynamic functionality. The JavaScript code provides a function to handle events like “onmouseover”:

Skip animation for table caps

When disabled, the filter will add a <code><a href="#"> ... </a></code> hyperlink stub to every table cell. When enabled (this is the default) and there are at least two horizontal or two vertical guides, the filter will not add a hyperlink stub to the first and last cell in a column or row. This may be useful when you have an image with border and you don't want to make the border sensitive.