macromedia studio 8 step-by-step macromedia dreamweaver 8 project 2: banking site

54
Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Upload: rosanna-summers

Post on 20-Jan-2016

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Macromedia Studio 8 Step-by-Step

MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Page 2: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 2Macromedia Studio Step-by-Step

Create a table

Modify table properties, including the properties of table rows and cells

Import data from a spreadsheet into a Web page

Attach and detach external style sheets

Project Objectives

Page 3: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 3Macromedia Studio Step-by-Step

Use div tags to lay out a Web page

Create a Dreamweaver template

Create a new Web page from a Dreamweaver template

Update a Dreamweaver template

Project Objectives (continued)

Page 4: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 4Macromedia Studio Step-by-Step

Update an image in Fireworks from within Dreamweaver

Insert a Flash movie on a Web page

Update a Flash movie from within Dreamweaver

Insert Flash Video on a Web page

Project Objectives (continued)

Page 5: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 5Macromedia Studio Step-by-Step

Three challenges at the corporate level– Updating multiple pages at once– Creating/updating sophisticated sites– Managing a site with development teams

Three inter-connected solutions– Cascading style sheets (CSS), templates– Multi-media elements; e.g., video, animation– Reliance on the team's design document

Overview

Page 6: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 6Macromedia Studio Step-by-Step

Update Experience Bank’s Web siteStudent is part of a development team– Will help revise site’s look and feel– Follows specifications in design documents

Scope of implementation – Working with HTML tables to lay out data– Using CSS and templates for consistency – Using rich media to enhance pages

Assignment

Page 7: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 7Macromedia Studio Step-by-Step

FIGURE 1: Experience Bank Web site

Page 8: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 8Macromedia Studio Step-by-Step

Design documents are complex– One storyboard panel for template

• Template also known as standard page layoutTemplate also known as standard page layout

– Many storyboards for individual pages • Reference standard page layout for common elementsReference standard page layout for common elements

Value of templates – Promote consistency across site– Simplify task of site maintenance

A portion of site's pages will be built

Web Site Design

Page 9: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 9Macromedia Studio Step-by-Step

FIGURE 4: Flowchart for the Experience Bank Web site

Page 10: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 10Macromedia Studio Step-by-Step

Lesson 1: Working with Tables

Lesson 2: Maintaining Consistency With Templates And CSS

Lesson 3: Enhancing A Web Page With Rich Media

Project 2 Lessons

Page 11: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 11Macromedia Studio Step-by-Step

Lesson 1 Objectives

Create a table

Modify table properties, including the properties of table rows and cells

Import data from a spreadsheet into a Web page

Page 12: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 12Macromedia Studio Step-by-Step

Lesson 1 Introduction

Define a new site for Experience Bank

Open the checking account page

Set up an HTML table

Import data from a spreadsheet

Page 13: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 13Macromedia Studio Step-by-Step

Creating TablesTwo ways to use HTML tables– Present data in columns and rows – Lay out text and graphics on the page

Two methods for creating data tables– Create table in Standard or Layout mode– Import a spreadsheet

Adding data to checking-products.htm– Create table in Standard mode – Import spreadsheet, transfer data

Page 14: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 14Macromedia Studio Step-by-Step

FIGURE 1-2 Table Dialog Box

Page 15: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 15Macromedia Studio Step-by-Step

Importing Tabular Data

Tabular data easily imported – Spreadsheets – Tables in Microsoft Word

Experience Bank spreadsheet– Contains information for checking products– Data imported into checking-products.htm

Page 16: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 16Macromedia Studio Step-by-Step

FIGURE 1-3 Import Tabular Data Dialog Box

Page 17: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 17Macromedia Studio Step-by-Step

Copying and Pasting Table Cells

Two ways to copy and paste– Select multiple table cells at once

• Cells’ formatting is preserved Cells’ formatting is preserved

– Select cell content only

Where cells can be pasted – At an insertion point – In place of a selection in a table

Task: copy cell contents into first table

Page 18: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 18Macromedia Studio Step-by-Step

Deleting Cells and Content

Two tables in checking-product.htm– Retain first table created – Delete table that was imported

• Data has been copied into the first tableData has been copied into the first table

Delete options– Remove cell content, leave cell intact – Remove an entire row– Remove an entire table

Page 19: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 19Macromedia Studio Step-by-Step

Formatting Tables

Design goals for table– Enable better readability– Improve accessibility

Tasks– Add more white space around text

• Improves readabilityImproves readability

– Designate header rows for screen readers• Ordered rows improve accessibilityOrdered rows improve accessibility

– Create links to details and application

Page 20: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 20Macromedia Studio Step-by-Step

FIGURE 1 -7 Table Cell Property Inspector

Page 21: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 21Macromedia Studio Step-by-Step

Lesson 2 Objectives

Attach and detach external style sheets

Use div tags to lay out a Web page

Create a Dreamweaver template

Create a new Web page from a Dreamweaver template

Update a Dreamweaver template

Page 22: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 22Macromedia Studio Step-by-Step

Lesson 2 Introduction Cascading Style Sheets (CSS) – Enable quick design changes across site

Dreamweaver templates – Enable structural changes across site– Control edits to page elements

Lesson tasks – Apply style sheets– Create templates– Create pages from templates

Page 23: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 23Macromedia Studio Step-by-Step

Consistency in Design

Quality of sameness across a site

Benefits of consistent look and feel– Pages require less time to develop– Pages provide users with predictability

Consistency inspires confidence in a site

Page 24: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 24Macromedia Studio Step-by-Step

Using Cascading Style Sheets

Experience Bank uses external CSS How external style sheets work– Linked to Web page with single line of code– Browser downloads CSS when line is read– Page displayed using rules specified in CSS

Tasks for development team– Prepare pages representing three new looks– Each page attaches separate CSS

Page 25: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 25Macromedia Studio Step-by-Step

FIGURE 2-2: Attach Style Sheet dialog box

Page 26: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 26Macromedia Studio Step-by-Step

Using a Storyboard to Lay Out a Page

Storyboards specify consistent elements Task: build page layout from storyboard – New page will become a template– Elements create consistent page structure

Work flow for building page layout– Create a series of div tags (containers)– Assign div tag CSS rules by giving it an ID– Add content to div tags

Page 27: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 27Macromedia Studio Step-by-Step

FIGURE 2-5 Experience Bank Layout

Page 28: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 28Macromedia Studio Step-by-Step

Using a Storyboard to Lay Out a Page (continued)

Specific content added to div tags– Experience Bank logo– Navigation bar – The subnavigation bar– Footer material

CSS rules behind div tags will be modified

Page 29: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 29Macromedia Studio Step-by-Step

FIGURE 2-7 CSS Rule Definition dialog box for #wrapper in eb-main.css

Page 30: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 30Macromedia Studio Step-by-Step

Using a Storyboard to Lay Out a Page (continued)

Two types of navigation– By navigation bar across top of page– By links within a particular section for site

Build navigation for Checking Products – Create links to pages within subsection– Divide main column and navigation elements

• Set attributes for left border of mainColumn div tag

Page 31: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 31Macromedia Studio Step-by-Step

FIGURE 2-9 Checking submenu items in the Checking Products layout

Page 32: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 32Macromedia Studio Step-by-Step

FIGURE 2-10 CSS Rule Definition dialog box with left border attributes set for the mainColumn div tag

Page 33: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 33Macromedia Studio Step-by-Step

Using a Storyboard to Lay Out a Page (continued)

Links at footer of checking-layout.htm– Personal | Small Business | Commercial |

Brokerage | About Us | Branches | Contact Us– Similar to those in main navigation bar

Usefulness of text links at footer– Series of text links improves accessibility– Enables navigation when main bar not visible

Completed layout includes copyright notice

Page 34: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 34Macromedia Studio Step-by-Step

FIGURE 2-11 Footer for the Checking Products layout

Page 35: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 35Macromedia Studio Step-by-Step

FIGURE : 2-13 Completed Checking Products layout

Page 36: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 36Macromedia Studio Step-by-Step

Reusing Page Elements by Adding Images to Asset Favorites

All site images listed on Assets panelAs the site grows, image list growsOrganize images with Favorites listTask: add common images to Favorites– eb-logo-new.jpg, atmAd.jpg, mortgageAd.jpg– Create Advertising Badges folder– Drag atmAd.jpg, mortgageAd.jpg into folder

Page 37: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 37Macromedia Studio Step-by-Step

FIGURE : 2-15 Assets panel showing Image Favorites

Page 38: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 38Macromedia Studio Step-by-Step

Using Templates

Two important template benefits– Ability to update multiple pages at once – Ability to define regions that may be edited

• Protects elements, such as navigation, from damageProtects elements, such as navigation, from damage

Creating a template– Template author designs fixed page layout

• Example of fixed page layout: checking-layout.htmExample of fixed page layout: checking-layout.htm

– Fixed page layout is saved as a template– Editable regions defined in template

Page 39: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 39Macromedia Studio Step-by-Step

Creating a Template

Task: create Checking Products template– Save checking-layout.htm as template

• New template is saved as checking-products.dwtNew template is saved as checking-products.dwt

– Create two editable regions• Main Heading Main Heading • Main ContentMain Content

Page 40: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 40Macromedia Studio Step-by-Step

FIGURE 2-18 Checking Products template

Page 41: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 41Macromedia Studio Step-by-Step

Creating New Pages from Templates

Uses for templates – Generate new pages for site– Generate new templates

Two ways to base document on template– Use New Document dialog box

• Select a template from a Dreamweaver-defined sitesSelect a template from a Dreamweaver-defined sites

– Use the Assets panel

Task for Web development team– Derive free-checking.htm from template

Page 42: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 42Macromedia Studio Step-by-Step

Figure 2-19 Templates category of the Assets panel

Page 43: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 43Macromedia Studio Step-by-Step

Updating a Template

Update template with new links– Checking links to index.htm– Free Checking links to free-checking.htm

Save changes with Update Template Files

Page 44: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 44Macromedia Studio Step-by-Step

FIGURE 2-20 Update Template Files dialog box

Page 45: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 45Macromedia Studio Step-by-Step

Lesson 3 Objectives

Update an image in Fireworks from within Dreamweaver

Insert a Flash movie on a Web page

Update a Flash movie from within Dreamweaver

Insert Flash Video on a Web page

Page 46: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 46Macromedia Studio Step-by-Step

Lesson 3 IntroductionAdd sound and movies to enhance siteInteroperate with Flash and Fireworks– Roundtrip editing for code, image, animation

• Ensures updates transfer correctly between applicationsEnsures updates transfer correctly between applications

– Design notes for locating source documents• Contains references to PNG or FLA authoring fileContains references to PNG or FLA authoring file

Tasks for Experience Bank Web team– Edit an image in Fireworks – Add Flash animation to page, edit animation– Add Flash video to a page

Page 47: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 47Macromedia Studio Step-by-Step

Editing Images in Fireworks

Task: update advertising badge– Badge at lower-left of savings-products.dwt

Workflow for badge update– Open Savings Products template– Click badge that says “Dream Home”– Click Edit button in Property inspector– In Fireworks, double-click “Dream Home”– Edit text to read “Home of Your Dreams”– Click Done

Page 48: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 48Macromedia Studio Step-by-Step

FIGURE 3-2 Fireworks Document Window

Page 49: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 49Macromedia Studio Step-by-Step

Inserting Flash MoviesTask: Load animation into new pageWorkflow for inserting Flash movie– Derive basic-savings.htm from template– Insert basic-savings.doc into Main Content– Open Select File dialog box– Navigate to movies folder– Select savings-movie.swf– Modify attributes – Play/Stop movie from Property inspector

Page 50: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 50Macromedia Studio Step-by-Step

FIGURE 3-4 Select File dialog box for inserting a Flash movie

Page 51: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 51Macromedia Studio Step-by-Step

Editing Flash Movies from Dreamweaver

Task: correct typo in Savings movieWorkflow to correct typographical error– Open Locate Macromedia Flash Document

File Dialog box– Locate and open /_flash/savingsmovie.fla– Double-click “Saving ofr a Home”– Change “ofr” to “for”– Click Done

Page 52: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 52Macromedia Studio Step-by-Step

Inserting Flash Video

Video from president of Experience Bank – Describes the mission of the company

Task: display video clip in new pageBasic workflow for inserting video clip– Derive our-mission.htm from template– Insert mission-statement.doc in Main Content– Open Insert Flash Video dialog box– Locate and select ebMissionStatement.flv– Click Halo Skin2, click Detect size

Page 53: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 53Macromedia Studio Step-by-Step

FIGURE 3-7 Mission statement page for Experience Bank

Page 54: Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Project 2: Banking Site

Project 2 54Macromedia Studio Step-by-Step

Summarizing Project 2

Experience Bank Web site is updated

HTML tables have been manipulated

Layouts implemented with CSS and templates

Web site enhanced with rich media

Team building skills developed