
Preparing slices for export 271
Custom-naming slice files
You can assign names to slices so that you can easily identify slice files in your website file
structure. For example, if you have a button on a navigation bar that returns to the home
page, you could name the slice
Home
.
To enter a custom slice name, do one of the following:
■
Select the slice on the canvas, enter a name in the Object Name box in the Property
inspector, and press Enter.
■
Double-click the name of the slice in the Web Layer, enter a new name, and press Enter.
Do not add a file extension to the base name. Fireworks automatically adds file extensions
to slice files upon export.
Auto-naming slice files
If you do not enter a slice name in either the Property inspector or the Layers panel, Fireworks
reverts to auto-naming. Auto-naming assigns a unique name to each slice file automatically
based on the default naming convention.
To auto-name a slice file:
■
When you export your sliced image, enter a name in the File Name (Windows) or Name
(Macintosh) text box in the Export dialog box. Do not add a file extension. Fireworks
automatically adds file extensions to slice files upon export.
Changing the default auto-naming convention
You can change the naming convention for slices from the Document Specific tab in the
HTML Setup dialog box.
Fireworks lets you specify your own naming convention using a wide range of naming
options. You can create a naming convention that contains up to eight elements. An element
can consist of any of the following auto-naming options.
Option
Description
None
No name is applied to the element.
doc.name
The element takes the name of the document.
“slice”
You can insert the word “slice” into the naming convention.
Slice # (1,2,3...)
Slice # (01,02,03...)
Slice # (A,B,C...)
Slice # (a,b,c...)
The element is labeled numerically or alphabetically, according to
the style you select.
Содержание FIREWORKS 8-USING FIREWORKS
Страница 1: ...Using Fireworks...
Страница 78: ...78 Chapter 3 Selecting and Transforming Objects...
Страница 142: ...142 Chapter 5 Working with Vector Objects...
Страница 166: ...166 Chapter 6 Using Text...
Страница 192: ...192 Chapter 7 Applying Color Strokes and Fills...
Страница 234: ...234 Chapter 9 Layers Masking and Blending...
Страница 250: ...250 Chapter 10 Using Styles Symbols and URLs...
Страница 324: ...324 Chapter 13 Creating Animation...
Страница 372: ...372 Chapter 14 Optimizing and Exporting...
Страница 444: ...444 Chapter 16 Automating Repetitive Tasks...
Страница 454: ...454 Chapter 17 Preferences and Keyboard Shortcuts...
Страница 472: ...472 Index...