Beruflich Dokumente
Kultur Dokumente
Overview: This is a hands-on class demonstrating some of the advanced features of Macromedia Fireworks. It will involve some multi-tasking and self-direction. The course assumes that you have solid understanding of the basics of Fireworks and that you have a working knowledge of Dreamweaver. It is highly recommended that you first complete the Fireworks 1: Introduction to Macromedia Fireworks workshop as well as the Dreamweaver 1: Introduction to HTML Using Macromedia Dreamweaver workshop. Time is not allotted in this course to answer basic questions such as "What is Fireworks?" or "How do I create images in Fireworks?"
Objectives: Skills developed by this workshop include touching up photos, slicing images, and creating rollovers. By the end of this workshop you will have a practical model for using Fireworks and Dreamweaver to modify and enhance your Web pages and/or create a basic website.
Table of Contents: Photo Magic from the Scanner to the Web.....................................2 Chop, Chop, Chop slicing graphics ................................................3 Magical Buttons creating rollover images ......................................5 Creating Additional Pages Put it all together .................................7
Page 1
Step 2: Modify the graphic We are going to change the brightness and contrast of the graphic first, then change its size. 1. From the Filters Menu, choose Adjust Color > Brightness/Contrast... 2. Change the Brightness to 10 and the Contrast to 30, then click OK. 3. From the Modify Menu, choose Canvas > Image size. 4. Make sure the Constrain Proportions and Resample Image boxes are checked.
5. Change the width to 300, the height will change to 200 automatically.
Step 3: Export the graphic 1. Optimize the graphics using the techniques you learned in Introduction to Fireworks. 2. Choose File > Export to export the graphic with the export settings you chose. 3. Save the file as bridge.jpg.
Step 4: Save a PNG version of the file 1. Choose File > Save as. Name the file bridge_original.png and click Save. Remember you will need to open this file if you want to make changes to the graphic, then export it as bridge.jpg.
Page 2
2. Choose Select > Select All or press Ctrl+A on your keyboard. 3. Click on the window where your banner is, then press Ctrl+A or Edit > Paste.
4. Choose the Transform tool and resize the graphic to fit on the canvas. 5. Choose the Pointer tool and position the graphic to the right edge of the canvas.
Page 3
Step 5: Slice the graphic Using Fireworks to slice graphics is not really a difficult process. "Slicing" graphics basically, means that you cut a larger image into smaller images. This technique is useful because you can optimize each piece of a graphic separately, resulting in smaller, faster-loading files. You may also export some parts of an image as GIF and other parts as JPEG, to best use the strengths of each export format. More importantly, to those looking to design killer Web sites, you can add HTML properties and JavaScript behaviors to individual slices. 1. Choose the Slice tool . 2. Drag a rectangular slice over the first segment. (the picture part) 3. Draw a rectangular slice over the second segment. (ncsu logo)
Page 4
1. With the Pointer tool, click on the first slice. Click Preview (just above canvas), notice the file size and download speed just above the canvas. Optimize it further if you are not satisfied with the default settings. 2. Click Original. With the Pointer tool, click on the second slice. Click Preview (just above canvas), notice the file size and download speed just above the canvas. Optimize it further if you are not satisfied with the default settings. 3. Click the Original tab to get back to edit mode. 4. Look at the Properties Panel.
5. Enter index.html for the link and "(Your course name) Home Page" for the Alt field. Press Enter on the keyboard. 6. Select the NCSU logo. 7. On the Properties Panel, enter http://www.ncsu.edu for the link and North Carolina State University for the Alt field. 8. Choose File > Export. 9. Type in a file name (course_title will work). Make sure the "Save as type" field says "HTML and Images." Click Save. We just created a graphic with HTML behaviors attached to it. Basically, Fireworks just allowed us to write some of the HTML necessary for the slices to act as hyperlinks. To add this element to your page is easy using Dreamweaver. In Dreamweaver you can use the Insert Fireworks HTML function to place the graphic and all the code in the proper position on the Web page. 1. 2. 3. 4. Open Dreamweaver. Insert a table of 760 pixels with two rows and two columns. Select and merge the two columns in the first row of the table. Place your cursor in the first row of the table, and then choose Insert > Image Objects > Fireworks HTML to place your banner on the page. 5. Save the file as model_page.html in the fw2 folder.
Page 5
Step 2: Create On State graphic of your button 1. Choose File > Save a Copy. Name the file over_state.png. 2. Choose File > Open. Choose the over_state.png. 3. Change the Paint Bucket color to a lighter color. 4. Change the text from original to rollover. 5. Click File > Save. The next thing you want to do is to begin to make buttons from the models. Each button you will create will have an off state and an on state so you will to export two graphics for each button. Make sure that you have both the off_state.png and on_state.png opened. Place the off state on the left and the on state on the right.
Page 6
Step 3: Add text to both states of your button 1. On the off_state graphic, choose the Text tool and click on your rectangle. 2. Type in "Home Page." Click OK. 3. Use the Pointer tool to center it on the canvas. 4. Copy and Paste that text into the on_state graphic. Choose Edit > Copy, then click on the on_state graphic and choose Edit > Paste. OR, click on the text in the off_state window and drag it to the on_state window.
Step 4: Export the different states of the home button 1. Export the off_state graphic as home_off.gif. 2. Export the on_state graphic as home_on.gif.
Step 5: Create more buttons To create additional buttons, all we have to do is change the text of the home button we created. 1. Double-click on the text in the off_state graphic with the Pointer tool. 2. Change the text to "Syllabus." 3. Double-click on the text in the on_state graphic with the Pointer tool. 4. Change the text to "Syllabus." 5. Export each graphic. (the off_state graphic will be syllabus_off.gif and the on_state graphic will be syllabus_on.gif). 6. Repeat 1 through 5 to create more buttons.
Step 6: Inserting Rollover Images with Dreamweaver Now that we have created the two states of the button we can go ahead and make the button work using Dreamweaver. All you have to do is tell Dreamweaver which images or graphics to use and which page to go to. 1. 2. 3. 4. 5. Open Dreamweaver. Create a new Dreamweaver the way you learned in Dreamweaver 1. Choose File > Open. Select model_page.html. Click Open. Place your cursor in the first column of the second row.
Page 7
7. Choose Insert > Image Objects > Rollover image. 8. For Original Image, browse to your home_off.gif graphic. 9. For Rollover Image, browse to your home_on.gif graphic. 10. For When clicked, go to URL, type in index.html. 11. Repeat this process to insert the other buttons you have created. 12. Then, save the file as model_page.html. If you press F12 on your keyboard, you can preview your page with your button on it.
Step 7: Finalizing the Model Page We are creating one HTML page that will contain all the common elements of the site (banner, buttons, font, etc). We will then take that file and create our other pages of our site. By doing so we insure that there is a consistent look and feel across all the pages. Thus far, we have inserted the banner and the navigation for our site. We need to add a few more things. Lock the Column Widths 1. Place your cursor in the first column of the second row. 2. On the Properties panel, insert 150 for the width of the cell. 3. Place your cursor in the second column of the second row. 4. To make sure that your buttons appear at the top of the cell, change the vertical alignment of this cell to top. 5. On the Properties panel, insert 610 for the width of the cell. Indent the text 6. Place your cursor in the second column, second row. 7. Click the Indent button on the property inspector. 8. Press Shift + Enter on the keyboard to skip a single line. 9. Type PAGE HEADER. 10. Highlight PAGE HEADER and make it bold. 11. Place your cursor after PAGE HEADER, and then press Enter on the keyboard to skip down two lines. 12. Turn off the bold option.
Page 8
Page 9
Step 2: Creating the Assignments Page 1. Open the model_page.html file. 2. Enter the assignments information. 3. Save the page as assignments.html.
Step 3: Creating the Home Page 4. Open the model_page.html file. 5. Enter the information you want to have on the home page. 6. Save the page as index.html.
Congratulations, you have successfully completed this workshop. To see the results of your hard work, look into the fw2 folder, and double-click on your index.html page. It will open in a web browser and you will be able to click on the different buttons to see the other pages you created. You should also be able to click on the image portion of your banner to go back to the home page of the site, as well as, click on the NCSU logo to go to the NC State Web Site.
Page 10