| |
Procedure
|
|
Overview: Create a Photoshop mock-up.
Slice and optimize the art. Import art into Dreamweaver. Add content
and CSS styles.
making the front page mock-up
- move downloaded files to "prep" folder
- dupe "browser.psd", rename "cg-front.psd";
open in Photoshop
- practice Adobe navigation keyboard shortcuts: space=hand; space+ctrl=zoom
in; space+alt+ctrl= zoom out; ctrl+zero=fit in window
- file > place "cg-logo.eps", re-size and position,
RETURN to accept
- delete "O"
- make type white (ctrl+shift+DELETE)
- fill background layer with black (alt+shift+DELETE)
- new layer "lens flare"; fill with black (alt+shift+DELETE)
- filter > render > lens flare; layer mode=screen; opacity=80%;
adjust size and position
- new layer "glow"
- paint glow: brush tool, soft edge, light blue, adjust size
( ] or [ )
- logo layer: marquee cg logo only, fill with magenta (alt+shift+DELETE),
deselect (ctrl+D)
- add drop shadow effect: color=light blue, blend mode=normal,
distance=0, size=?
- layer > add layer mask > reveal all: draw gradient on
mask, adjust position
- using guides, isolate logo art
- new layer "black": paint in edges with soft-edged
brush
- slice logo art (slice tool)
- file > save for web: select slice (slice select tool), jpeg
high, interlaced=yes
- click ok: "front.htm", images only, selected slices
only (location="upload/lesson10")
- save, close
making the inside page mock-up
- dupe "cg-front.psd", rename "cg-inside.psd",
open in Photoshop
- hide browser layer, layer > merge visible, rename "logo"
- layer > add layer mask > reveal all: draw on mask with
soft brush
- new layer "white", move to bottom
- new layer "gradient", draw horizontal gradient, layer
mode=multiply
- new layer "lines": draw 2px horizontal lines (single
row marquee tool), fill with dark purple
- select mask of "logo" layer (ctrl-click on thumbnail)
- go to "lines" layer: layer > add layer mask > reveal
selection, retouch, adjust position
- text tool: type "Program, Curriculum, Job Market, Student
Gallery, Contact Us"
- spec font: 12/18 arial black, crisp, dark purple
- dupe type layer, make type magenta
- new layer "triangles": square marquee, fill dark
purple, rotate 45 degrees (ctrl+T), delete left half, re-size
and position
- dupe triangles: alt-shift move; merge down (ctrl E)
- copy and paste text from "lorem.txt" (12/14 verdana,
anti-alias=no)
- save, save as "cg-inside-sliced.psd", jump to ImageReady
slicing the inside page in ImageReady
- crop, delete browser layer
- clear previous guides, draw new guides, draw slices, name slices
(i.e "logo", "tile", "top", "right")
- select > all slices, optimize: jpeg medium
- file > save optimized as "temp.htm" (HTML and
images, all slices, location="upload/lesson10")
- save, save as "link.psd"
- crop link area, draw new guides
- slices > create slices from guides
- reveal only layers for "normal" state
- select > all slices, optimize: GIF 32 no dither, reduce
colors
- file > save optimized as "links.gif" (images only,
all slices, location="upload/lesson10")
- reveal layers for "over" state; file > save optimized
as "links-over.gif"
- reveal "triangle" layer; file > save optimized
as "links-hit.gif"
- save, close
laying out the template page in Dreamweaver
- launch Dreamweaver
- site > new site: "lesson10-cg"
- local root folder: "csc121/upload/lesson10"
- window > site (F8): new file "template.htm"
- view > head content
- view > invisible elements (ctrl + shift + I)
- make window size 760 x 420 (800 x 600 maximized)
- insert > named anchor "top"
- insert > table (row=1, col=3, cell padding=5, width=100%)
- select cells, vertical=top (properties)
- file > open "temp.htm"
- select table: make cell padding=1 (this reveals table cells)
- copy and paste images from "temp.htm" to "template.htm"
- in col 3: insert nested table (row=5, col=1, cell padding=5,
width=blank)
- insert > interactive images > rollover image: "link1.gif", "link1-over.gif",
add link per site map; repeat
- select col 2 of larger table: make width=100%
- select "tile.gif", make width=100%
- select both tables, make cell padding=0
- delete bottom table
- file > preview in browser (F12 and ctrl+F12)
- delete "temp.htm"
adding CSS styles
- draw layer (L=20%, T=?, W=60%, H=blank)
- copy text from text-only site for "curriculum.htm" into
layer
- window > CSS: attach style sheet "cg.css" (link)
- new CSS style: redefine HTML tag <body> (11/18 verdana,
box: margins=0)
- new CSS style: redefine HTML tag <table> (11/18 verdana)
- new CSS style: redefine HTML tag <a> (color=eyedropper,
decoration=none)
- new CSS style: css selector "a:hover" (decoration=underline)
- new CSS style: redefine HTML tag <p> (box: top/bottom
margins=0)
- new CSS style: redefine HTML tag <ul> (box: top/bottom
margins=0)
- new CSS style: redefine HTML tag <li> (list: type=square)
- new CSS style: ".caps" (case=uppercase; border: bottom
border=1px, solid, color=?)
- new CSS style: ".indent" (block: text indent=2ems)
- new CSS style: ".small" (9/11)
- apply CSS custom class styles to select paragraphs
- add "BACK TO TOP" (link="#top")
- file > preview in browser (F12 and ctrl+F12)
finishing the HTML file
- change title to "Parkland College Computer Graphics"
- insert > head > keywords
- insert > head > description
- window > snippets: meta > no cache (insert in code view)
- add alt tags
- commands > clean up HTML
- save, close
making the web site
- window > site (F8): dupe "inside.htm" 6x (copy & paste),
rename per site map
- in each file: copy and paste appropriate text from client files,
make appropriate edits for links
- file > preview in browser (F12 and ctrl+F12); test links
making the front page
- delete contents of <body>
- new layer L=50%, T=50%, W=600px, H=400px
- insert > image "front.jpg"
- below "front.jpg": copy and paste text, color=light
gray, edit line breaks
- add "ENTER", link to "program.htm"; link
picture to same
- new CSS style: ".middle": block: text align=center;
box: margins: T=-200px, L=-300px
- apply style to "layer 1"
making gallery pop-up pages
- window > site (F8): dupe "index.htm" (copy & paste),
rename "1.htm"
- delete text, replace image with large student image
- insert > table (1 row, 3 col, width=660, cell padd=10)
- add text: "<< PREVIOUS", "NEXT >>", "CLOSE
WINDOW"
- make links (picture should link to next page)
- see Javascript
code page for "close window" instructions
- modify > page properties: bg=black
- window > site (F8): dupe "1.htm" 5x (copy & paste),
rename per site map
- in each file, replace image; modify links
- open "gallery.htm"
- for each thumbnail image, add behavior "open browser window" (720x560)
- site > check links sitewide
publishing the finished exercise
- site > open site "p1"
- open "links.htm"
- link to "../lesson10/index.htm" (target=_blank)
- window > site (F8)
- RMB select root folder, synchronize
|