Adobe Fireworks CS3 Manuale Utente

Pagina di 369
ADOBE FIREWORKS CS3
User Guide
202
To create an HTML slice:
1
Draw a slice object and leave it selected.
2
In the Property inspector, select HTML from the Type pop-up menu.
3
Click Edit.
4
Type text in the Edit HTML Slice window, and format the text if desired by adding HTML text-formatting tags.
Note: Alternatively, you can add HTML text-formatting tags to the HTML after it has been exported using a text editor 
or HTML editor such as Adobe Dreamweaver.
5
Click OK to apply your changes and close the Edit HTML Slice window.
The text and HTML tags you entered appear in your Fireworks PNG file on the body of the slice as raw HTML code.
Note: HTML text slices may vary in appearance when viewed in different browsers and on different operating systems, 
because font size and type can be set in the browser.
Creating nonrectangular slices 
Rectangular slices may not be sufficient when you’re trying to attach interactivity to a nonrectangular image. If you 
plan to attach a rollover behavior to a slice, for example, and your slice objects overlap or have irregular shapes, then 
a rectangular slice may swap unwanted background graphics along with the swap image. Fireworks solves this 
problem by allowing you to draw slices in any polygonal shape using the Polygon Slice tool. 
You can also insert a slice on top of a vector path to create irregular slice shapes. 
To draw a polygon slice object:
1
 Select the Polygon Slice tool.
2
Click to place the vector points of the polygon. The Polygon Slice tool draws only straight line segments.
3
When drawing a polygon slice object around objects with soft edges, be sure to include the entire object to avoid 
creating unwanted hard edges in the slice graphic.
4
To stop using the Polygon Slice tool, select another tool from the Tools panel. You do not have to click the first 
point again to close the polygon.
Note: Be careful not to overuse polygon slices, because they require more JavaScript code than similar rectangular 
slices. Using too many polygon slices can increase web browser processing time. 
To create a rectangular slice or polygon slice from a vector object or path:
1
Select a vector path.
2
Select Edit > Insert > Insert Rectangular Slice or Insert Polygon Slice (depending on the shape you want).