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

 

 

GDS 215 WEB DESIGN III
Exercise #6: Drop-down Menus
Instructor: Paul Young

 

Objective

To learn Dreamweaver's drop-down menu function and window positioning script by recreating these pages.

 

Procedure

resizing the home page to full monitor size

  1. download starter files, move to upload folder
  2. open "index.html"
  3. in code view, add the following code in header:
    <script language="JavaScript">
    function resize(){
    window.moveTo(0,0)
    window.resizeTo(screen.width,screen.height)
    }
    </script>
  4. return to design view, select <body> tag,
    add "call javascript" behavior (onLoad):
    resize()
  5. save, preview (F12)

centering the pop-up window

  1. select "logo-index.gif"
  2. add "open browser window" behavior:
    contact.html, 769 x 488 (onClick)
  3. repeat above with onLoad behavior
  4. open "contact.html"
  5. in code view, add the following code in header:
    <script language="JavaScript">
    function move(){
    window.moveTo(screen.width/2-385,screen.height/2-244)
    }
    </script>
  6. return to design view, select <body> tag,
    add "call javascript" behavior (onLoad):
    move()
  7. save, preview (F12)

adding the drop-down menu

  1. open "contact.html"
  2. add swap image behavior to "portfolio.gif" and "aboutus.gif"
  3. swap "contact.gif" for "contact-over.gif"
  4. select "portfolio.gif"; add "show pop-up menu" behavior
  5. contents tab: People, Product, Application
  6. appearance tab: vertical, 12px verdana, text=white, bg=black, rollover=green (eyedropper, no web snap)
  7. advanced tab: width=110, padding=10, delay=0
  8. position tab: choose style, x=37
  9. save, preview (F12)
  10. make links to your work from your projects page
  11. test on a PC

 

 

Schedule

See Calendar.

 

 

______________________________

Last updated: 3/14/04 • Webmaster: Paul Young

 

 

Student
Exhibition

Influential
Designers

Internet
Resources

Tips, Tricks
& Handouts

Student
Links