| |
Procedure
|
|
Overview: Create "normal" and "over"
states in Photoshop. Slice and optimize in ImageReady. Add Javascript
"swap image" behavior in Dreamweaver. Test, publish to server.
Prepping for the lesson
- duplicate "upload/lesson6" folder, rename "lesson7"
- open "lesson5.psd", save as "lesson7.psd" (in
"prep")
- crop links area
- delete unneeded layers
- duplicate type layer for links, rename "normal" and "over"
- hide
"over" layer
- select "normal" layer: layer > rasterize type
- filter > blur > motion blur
- jump to ImageReady
Slicing and optimizing in ImageReady
- slices > delete slices
- view > clear guides
- draw new horizontal guides for individual links
- slices > create slices from guides
- show optimized image (click tab)
- choose slice select tool: select > all slices (cmd+A)
- window > optimze: GIF 32 no dither
- file > save optimized as "links.htm" (HTML and images,
all slices, location="upload/lesson7")
- select only "over" slices
- file > save optimized as "links-over.htm" (images
only, select slices)
- examine optimized files
Adding rollovers in Dreamweaver
- define a new site (site > manage sites > new site): name=lesson7,
local
root folder=jsmith/csc121/upload/lesson7
- open "index.htm" and "links.htm"
- copy table from "links.htm" to "index.htm" (replace
"links.gif")
- select first link GIF file
- window behaviors: add "swap image" behavior
- repeat
- save, file > preview in browser (F12)
- test, troubleshoot, publish (see instructions from Lesson 4)
|