|
|
Macromedia
Fireworks |
![]() |
Fireworks has tools that allow you to create an animated GIF. You can either create the animated GIF from scratch in Fireworks, or you can use Fireworks to create an animation out of a folder of images that you already have. Fireworks can create animations from GIFs, JPEGs and several other image file formats, but will only save the file as an animated GIF.
![]() |
![]() |
![]() |
![]() |
![]() |
If you have already created the images for your animation and just need to "sew" them together into an animated gif, Fireworks will do the "sewing" for you.
![]() |
![]() |
When you make a web page that includes
linked files and images, it is best to start with a site folder on your computer
to hold all of the related elements. This will keep all of the relative links
correct. If you do not yet have a site folder for your web page and the rollover
button elements you will be working on, create the folder before you begin.
Creating a New Rollover Button
- Start with a new Fireworks document.
- From the Insert menu choose New Button. A button editing window will open. Note the tabs at the top of the window. Make sure that the Up tab is selected.
- Draw the shape you want for the button, centering it on the crosshairs in the button editing window. Select the fill, stroke and effect you want for the "up" state of the button.
- Click on the text tool in the toolbox and click on your button.
- In the text editor choose the color, font, size etc. you want and type the text to appear on your button. Click OK.
- In the button editing window, use the arrow keys on your keyboard to position the text on the button OR select both the button and the text (holding down the SHIFT key) and from the Modify menu choose Align, then Center Vertical and Center Horizontal.
- Click on the Over tab. This is where you will design the way the button will look when the mouse cursor is over the button.
- It is easier to get the size and placement of the "over" state to match the "up" state if you work from an exact copy. Click on the Copy Up Graphic button at the bottom of the window to duplicate the original button. Now you can edit the "over" so that it is different from the "up". You could also change the text if you like. If it asks you if you want to update text in other button states, select No.
- Click the Active Area tab then click Link Wizard.
- In the Link Wizard window, click the Link tab and enter a URL for this button to link to in the first field. Use the entire URL (e.g. http://www.wellesley.edu/Computing/computing.html). Click OK.
- Close the button editing window.
- Now you see the button in the Fireworks document window. You can test the rollover, but not the link, by clicking on the Preview tab.
- If you click on the Original tab you can move the button. It will appear with a light green overlay and placement lines (this feature is selected by choosing the "show hotspots and slices" feature at the bottom right of the toolbox).
Using a Rollover Button to Make a Similar Button
If you would like to make a similar button, you can easily duplicate it and all of its features, and then you can make any edits you like so that the second button will be distinct.
- In the Fireworks document window at the Original tab, use the pointer to select the button. Holding down the ALT key (Windows) or OPTION key (Macintosh) drag the button to another spot on the document window. A duplicate copy will be made that includes the same colors, effects and text as well as the "up" and "over" states of the button.
- Select the new button. The Object panel has a field where you can change the button text. If it asks you if you would like to edit all instances of this button, select Current.
- Double-click on the new button to open the button editing window and make any other changes to the button.
- Close the button editing window.
Exporting a Rollover Button to be Used with Dreamweaver
Dreamweaver has a helpful tool that will allow you to Insert a Rollover Button into your web page. Follow the exporting instructions to prepare your files for Dreamweaver.
Export the button
Export each button individually so that they can be used on a web page. When you export, you will have a GIF file for each of the states of the button ("up," "over", etc.).
- Select a button in the Fireworks document window by clicking on it once.
- From the File menu choose Export Special then Selected Slice.
- In the Export Preview window, adjust your image settings if desired (GIF will likely be the best format choice) and click the Export button.
- In the Export window, change the name of your button. It should be a short name, all lowercase with no spaces. Remember to keep the extension (.gif).
- In the Style field, choose None.
- If you have created a web site folder already, navigate to this folder and click Export. Otherwise, create a new folder for your web site files and click Export.
- You should now have a GIF for each of the states of the button. (The images will have "strange" names such as button.gif, button_f2.gif, button_f3.gif and buttonf4.gif. These names correspond to the original "up" image, the "over" image, the "down" image and the "down while over" image.)
Inserting the Rollover into a Web Page using Dreamweaver
Once your Rollover Button has been created and all of the images stored, you are ready to insert the button into your web page.
- Make sure your images are stored inside your web site folder
- Open your web page in Dreamweaver (or open a new page in Dreamweaver)
- Insert the Rollover Button in your web page
Preview the web page in a browser (Netscape or IE) to see the Rollover Work. You will not be able to see the Rollover Button work in Dreamweaver.
Exporting a Rollover Button to be Used in a Web Page (without Dreamweaver)
Fireworks will help you to create the code that will allow the Rollover Button you created to work on any web page. You can create this web page in any web page editor like Claris HomePage or BBEdit.
Export the button
Export each button individually so that they can be used on a web page. When you export, you will have a GIF file for each of the states of the button ("up," "over", etc.) as well as a page of html. Remarks in the html source explain how to cut and paste the code into your web page. If you are uncomfortable working with the HTML source code, you could prepare your button for use with Dreamweaver instead.
- Select a button in the Fireworks document window by clicking on it once.
- From the File menu choose Export Special then Selected Slice.
- In the Export Preview window, adjust your image settings if desired (GIF will likely be the best format choice) and click the Export button.
- In the Export window, change the name of your button. It should be a short name, all lowercase with no spaces. Remember to keep the extension (.gif).
- In the Style field, choose Dreamweaver 3.
- If you have created a web site folder already, navigate to this folder and click Export. Otherwise, create a new folder for your web site files and click Save if you are using a Windows computer. Click Export if you are using a Mac..
- You should now have a GIF for each of the states of the button. (The images will have "strange" names such as button.gif, button_f2.gif, button_f3.gif and buttonf4.gif. These names correspond to the original "up" image, the "over" image, the "down" image and the "down while over" image.) You should also have an html file with the necessary code in it.
Inserting a Rollover Button into a Web Page using code
- Open the html file that was created during the export of the image. Make sure you are looking at the HTML source code of the file.
- Select the lines beginning from <script language="JavaScript"> and ending at </script> by clicking and dragging so that this entire section of code is highlighted.
- From the Edit menu, choose Copy.
- Open the html file that you want to insert the rollover image in. Make sure you are looking at the HTML source code of the file.
- Click somewhere between <Head> and </Head>, and paste the code by going to the Edit menu and selecting Paste.
- Go back to the html file that was created during the export of the image.
- Select the code that starts after BEGIN COPYING THE HTML HERE and ends with STOP COPYING THE HTML HERE by clicking and dragging so that this entire section of code is highlighted. (You do not have to include the Begin and Stop lines.)
- From the Edit menu, choose Copy.
- Go to the html file that you want to insert the rollover image in.
- Click between <Body> and </Body>, and paste the code by going to the Edit menu and selecting Paste. (The rollover will be put on the page according to where in this part of the document you clicked.)
- Preview your web page in a browser (Netscape or IE) to see the Rollover Button work. You will not be able to see the button work in a web page editor.