Top Banner
Tutorial 8 Creating Interactivity
18

Tutorial 8

Jan 06, 2016

Download

Documents

Tutorial 8. Creating Interactivity. Objectives. Session 8.1 Insert an interactive button Modify the appearance of an interactive button Change button text Create a navigation bar. Objectives. Session 8.2 Create a jump menu Modify a jump menu list Implement swap image behavior - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Tutorial 8

Tutorial 8

Creating Interactivity

Page 2: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 2

Objectives

• Session 8.1– Insert an interactive button– Modify the appearance of an interactive button– Change button text– Create a navigation bar

Page 3: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 3

Objectives

• Session 8.2– Create a jump menu– Modify a jump menu list– Implement swap image behavior– Add multimedia to a Web page

Page 4: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 4

Visual OverviewCreating Interactive Buttons

Page 5: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 5

Creating Web Page Interactivity

• Terminology– JavaScript• A programming language used to create

interactivity on the Web– Behaviors• Combinations of an event and an action

– Event• Triggers an action to take place

Page 6: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 6

Creating Web Page Interactivity

Page 7: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 7

Creating Interactive Buttons

• Interactive Buttons– Are images• Expression Web has over 200 images that can

be used• Can be used to create a navigation bar

– Change appearance when the pointer hovers over the image• Referred to as a “Swap” effect

Page 8: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 8

Creating Interactive Buttons

Page 9: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 9

Creating Interactive Buttons

– Buttons can be styled and their appearance enhanced using color• Original font color–Button color before it is clicked

• Hovered font color–Button color when pointers hover over the

button• Pressed font color–Button color when user clicks the button

Page 10: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 10

Creating Interactive Buttons

Page 11: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 11

Creating Interactive Buttons

– Button width and height can also be adjusted– Buttons can be copied and the text edited to

create a navigation bar for the Web page• All buttons should have a uniform appearance

– Best to save buttons in a separate folder

Page 12: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 12

Visual OverviewCreating Behaviors

Page 13: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 13

Creating a Jump Menu

• A Jump Menu is drop-down list box that contains a list of navigation links

• Ideal to use when many links exist and conserving space is important

• Create the Jump menu using the Behaviors panel

Page 14: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 14

Creating a Jump Menu

Page 15: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 15

Creating a Swap Image

• Swap Image Behavior– Exchanges one image for another when user

passes pointer over an image– Two images used for the swap should have same

height and width

Page 16: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 16

Creating a Swap Image

Page 17: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 17

Using the Open Browser Window Behavior

• Open Browser Image Behavior– New browser window opens within current

browser window– User does not leave original web site

Page 18: Tutorial 8

New Perspectives on Microsoft Expression Web 3.0 18

Adding Media to Your Web Pages

• Adobe Flash is the most commonly used media format

• Silverlight is a new technology that uses the XAML programming language– Microsoft Blend is used to program XAML files and

create Silverlight applications• Microsoft Deep Zoom– Displays large images by panning and zooming

• Windows Media– Allows website to link to audio and video files