Madison
Avenue PowerPak Advanced Techniques Image and Script Guide
© 2000 Project Seven
Development. All Rights Reserved
|
Fireworks images by page
Additional User Guide Section: Fast Track Guide and Customization Tips |
|
In the Fast Track guide, we discussed the basics of working with the Fireworks images included with your Design Pack. Now we will get under the hood and look lots closer! Planning the web images Before you begin, you must have a plan. Here's how the DP8 navbar evolved in my mind:I wanted a vertically oriented series of buttons positioned on the left of the page. I got out my trusty pencil and paper and sketched something that resembled this... |
|
|||||||||||
Now I also want a cool "topper" to my navbar. An image to crown the top of my page. Of course, it should all fit as if carved from a single block.
| Great Logo Here! | image | image | image | image | animated banner here! |
Sketching the web page
| Great Logo Here! | image | image | image | image | animated banner here! | ||
| Home |
|
||||||
| About | |||||||
| Services | |||||||
| Press | |||||||
| Events | |||||||
| Questions | |||||||
| Description popup & image | |||||||
|
The following two Fireworks images, which are in the Local_Files\Fireworks folder of your new Design Pack, are the mother images for the DP8 navigation bar and the neat header that sits atop the pages. These are the images I refer to:
Want to see how they were made? First, let's take a look at dp8iface.png in contact sheet format showing the six separate frames that comprise the complete Fireworks image file. It's over there... on the right! Buttons, Messages, and and Frames The first 3 frames represent the three button states on the navbar. Frame 1 contains all the button images as they will appear in the up state (when the page first loads) and also shows the descriptive message that corresponds to the first button. Frame 2 shows all the button images in the over state (when a user mouses over a button) and also shows the message that corresponds to the second button. Frame 3 shows all button images in the down state (when a user clicks a button) and also shows the descriptive message that corresponds to the third button. Frame 4 shows shows only the message that corresponds to the fourth button. It does not show a changed state for the button images, because we are only using 3 states in our scripts: Up, Over, and Down. Frame 5 shows only the descriptive message that corresponds to the fifth button. And Frame 6 shows only the message that corresponds to the last button. |
Tip: |
|
thumbsa.png The header images contain no scripting (rollovers), and so comprise but a single frame. The illustration does show how the main image was sliced into 5 distinct images. Note that the first slice is made to be precisely the same width as the slices in dp8iface.png so that they line up perfectly when "tabled" in Dreamweaver. Slicing this image is straightforward. Each slice is the same height. Widths are determined by the widths of the underlying imagry... except, of course, for the first slice... which is identical to the button image slices from dp8iface. Here is an example using the actual slices:
Note the technique of using the dark line on the left of each image to tie them together visually. The idea is to make it look like a single cohesive image. Tip:
Making and Editing Slices
|
Note: These advanced topics assume you have a basic understanding of the Fireworks interface and its palettes, tools, and menus. If not, please take a timeout and familiarize yourself with Fireworks basics by reading the online or printed documentation that came with the program.
| a
bit irregular on these slices!
Dp8iface is sliced irregularly to make it look the way we want. The buttons were easy! But the bottom 3 slices took some planning. Those 3 slices could have been done a few different ways. We chose the pattern at right. How to add Height and more buttons To add a button, you measure the height of an existing button and increase the height of the canvas by that amount. When changing the canvas size, be sure to click either the top or bottom middle anchors (in the Modify Canvas Size dialog) so your image remains properly positioned with new space created at either the top or bottom of the canvas.
Once you've increased the height, you need to create the proper space. If you've created the space at te bottom of the canvas in an image similar to dp8iface, and you want to place a new button underneath "questions", shift-select all 3 of the bottom slices and nudge them down the exact number of pixels that you increased the canvas height by. That will place those slices at the very bottom of the canvas and open up a slot for the new button. Create the button, then draw a slice around it, making sure the slice butts up perfectly and aligns horizontally with slices above and below it... and is the exact same width as the canvas. And don't forget to name your slice (preferably a name similar to the button label). Adjust your Dreamweaver Table to Accept a New Button If you add a button, you must also add a row to the Dreamweaver table. Select the cell above or below where you wish to place the new button and select Modify > Table > Insert Row or Column. Create a new row in the proper location. Insert the new button into the new row, name the image in the object name field (top left corner of Property Inspector), and apply the Navbar Behavior (described below). |
|
Note: If you haven't already done so, now is a good time to read the Fast Track Guide topic on how to export and update your Fireworks images.
|
|
|
|||||||||||||||||
Here's an underneath view of the table structure:
|
|
|||||||||||
|
|
|||||||||||||||||