You learn more about slices
and hotspots later in this chapter.
Using Fireworks??™ code
In some ways, Fireworks is a hybrid program, capable of simultaneously outputting terrific graphics and
sophisticated code. You can even select the type of code you want generated in Fireworks: Dreamweaver
HTML, Dreamweaver XHTML, Dreamweaver Library, or code compatible with other programs such as
GoLive and FrontPage. You can also find a more general Generic code option. All these options can be chosen
during the Export procedure.
For rollovers, Fireworks generally outputs to two different sections of the HTML document, the
and the ; only the FrontPage style keeps all the code together. The section contains the
JavaScript code for activating the rollovers and preloading the images; contains the HTML references
to the images themselves, their links, and the event triggers used (onClick or onMouseOver).
781
Adobe Photoshop, Fireworks, and Bridge Integration 24
The general procedure is to first create your graphics in Fireworks and then export them, simultaneously
generating a page of code. Now, the just-generated Fireworks HTML page can be incorporated in
Dreamweaver. Dreamweaver includes two slick methods for including your Fireworks-output code and
images.
Pages:
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350