Parkland College > Fine & Applied Arts > Graphic Design | Web Design >
Student Links > GDS 214 > Exercise #5

 

 

GDS 214 WEB DESIGN II
Exercise #5: Bacaro
Instructor: Paul Young

 

Objective

To learn complex site building with Photoshop and Dreamweaver. To learm how to create "drop-down" menu systems. To understand the issues relating to multiple windows by recreating this web site.

Download starter files

 

Description

This tutorial takes the student through the process of creating a complex, multi-window site. We will utilize javascript code to size and position windows. We will also create "drop-down" menus using Dreamweaver's "show/hide layers" behaviors.

 

Procedure

prepping for the exercise

  1. examine finished site
  2. move downloaded files to "prep-jane" or "upload-jane" folder
  3. examine site map
  4. open "main.psd" in image ready
  5. practice photoshop navigation keyboard shortcuts: space = hand; space + cmd = zoom in; space + cmd + opt = zoom out; cmd + zero = fit in window
  6. examine layers
  7. draw guides for slicing
  8. slices > create slices from guides
  9. name important slices
  10. optimize (slice tool; select > all slices)
  11. file > save optimized as "main.html" (in "upload" folder)
  12. reveal rollover layers, select only slices needed
  13. file > save optimized as (in "temp" folder) (images only; selected slices only)
  14. in finder, rename slices in "temp" folder, move into "images"
  15. open "menu.psd" in image ready
  16. file > save optimized as (images only)
  17. open "index.psd" in image ready
  18. file > save optimized as (images only; selected slices only)

creating the main page in dreamweaver

  1. prep dreamweaver: apple menu > backup preferences; replace dreamweaver's preference file
  2. launch dreamweaver
  3. site > new site: "jane's bacaro"; local: documents > gds214 > jsmith_upload > upload_bacaro; ok to create site cache
  4. window > site files: refresh
  5. open "main.html"; make window size 760 x 420 (800 x 600 maximized)
  6. view > invisible elements (cmd + shift + I)
  7. delete unneeded GIF files
  8. make email link, add swap image behavior
  9. name link images for javascript coding
  10. file > preview in browser F12 and cmd + F12

finishing the HTML file

  1. change title to "bacaro"
  2. insert > head > keywords
  3. insert > head > description
  4. add alt tags
  5. modify > page properties: make margins=0; bg image="bg.gif"
  6. commands > add/remove netscape resize fix
  7. commands > clean up HTML
  8. save, close

creating the index page

  1. duplicate "main.html", rename "index.html"
  2. open "index.html", select table, delete
  3. insert > table (1 row x 1 col, w=100%), horiz=centered
  4. select table, h=100%
  5. insert > image "bacaro.gif"
  6. add behavior "open browser window" ("main.html" w=720, h=390), change behavior to onClick
  7. repeat with <body> tag, change behavior to onLoad
  8. modify > page properties, change bg image to "dk_green.gif"

creating the popup pages

  1. duplicate "main.html", rename "cena.html"
  2. open "cena.html", select table, delete
  3. insert > table (6 row x 3 col, cell padding=5, w=255 px)
  4. select table, h=420 px
  5. all cols: vertical=top
  6. row 2, col 2: insert > image "panini.jpg"
  7. row 4, col 2: copy and paste text from sample web site
  8. window > CSS styles: attach style sheet "menu.css"
  9. new CSS style "menu": verdana, 10px
  10. new CSS style "head": verdana, 15px; block: letter spacing=.3 ems
  11. new CSS style: redefine <a>: type color=orange, no decoration
  12. new CSS style: CSS selector "a:hover": make type dark green
  13. apply styles
  14. row 5, col 2: add text "close window << | >>"; add 18 non-breaking spaces (cmd + shift + SPACE); vertical=default
  15. add link: Javascript:onClick=self.close()
  16. link arrows according to site map
  17. row 5: bg=white
  18. row 1, col 1: insert "spacer.gif" (20x20)
  19. row 4, col 1: copy and paste spacer, make h=194
  20. copy and paste spacers as needed in other cells
  21. select table, cell padding=0, w=100%
  22. change title to "C E N A"

creating the drop-down menus

  1. open "main.html"
  2. draw new layer "menu1", insert > image "menu1.gif", position
  3. repeat with "menu2"
  4. draw new layer "imagemap", insert > image "spacer.gif" (w=300, h=250)
  5. view > visual aids > invisible elements, fine tune alignment; restack layers
  6. draw image maps for all clickable areas
  7. select image map for "antipasti"
  8. add behavior "open browser window" ("popups/antipasti.html", w=255, h=420, scrollbars as needed=yes), change behavior to onClick
  9. add behavior "show-hide layers" (layer "menu1"=show), change behavior to onMouseOver
  10. add behavior "show-hide layers" (layer "menu1"=hide), change behavior to onMouseOut
  11. add behavior "swap image" (link1="images.link1-over.gif", preload=yes, restore=yes), change behavior to onMouseOver
  12. repeat with others
  13. show only "imagemap" layer (hide other layers)
  14. add email link "mailto:bacaro@msn.com"; add "swap image" behavior
  15. file > preview in browser F12 and cmd + F12

add javascript code to move window

  1. browse to http://virtual.parkland.edu/gds/studio/code.html
  2. read instructions; paste code into "main.html"
  3. modify code: window.moveTo(screen.width/2-360,screen.height/2-195)
  4. delete resize code
  5. select the <body> tag; add a new behavior "call javascript": resize(), change behavior to onLoad
  6. file > preview in browser F12 and cmd + F12
  7. save, close
  8. open "cena.html"
  9. repeat except modify code: window.moveTo((screen.width-255)/2-100,(screen.height-420)/2+25)
  10. open "index.html"
  11. repeat except modify code: window.moveTo(0,0); window.resizeTo(screen.width,screen.height)
  12. file > preview in browser F12 and cmd + F12

publishing in dreamweaver

  1. site > new sites: "jane's projects"
  2. local root folder: documents > gds214-jane > upload-jane
  3. host: virtual.parkland.edu
  4. directory: jsmith
  5. login: gds214students
  6. password: ••••••••••
  7. open your projects page ("index.html")
  8. make link to "e5/index.html" (target="_blank")
  9. site > synchronize (entire site)
  10. disconnect
  11. browse to your "live" projects page with a browser
  12. test on a PC

 

Schedule

See Calendar.

 

 

______________________________

Last updated: 10/8/02 • Webmaster: Paul Young

 

 

About
Web Design
 

Student
Exhibition

Faculty

Influential
Designers

Internet
Resources

Tips, Tricks
& Handouts

Student
Links