Dawn Pedersen Art Institute. What is Spry? Spry is Dreamweaver’s version of JavaScript libraries. Spry effects alter the look of a page element—or of.

Slides:



Advertisements
Similar presentations
Chapter 1: Introduction. Contents Whats New in Dreamweaver CS4? The Dreamweaver CS4 Interface Setting Up a Site Creating a Web Page Adding Text to Your.
Advertisements

© 2011 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
Chapter 3 – Web Design Tables & Page Layout
Step-by-Step: Add a Graphical Hyperlink USE the Special Events Final presentation that is still open from the previous exercise. 1.Go to slide 4, and click.
Working with Tables for Page Design – Lesson 41 Working with Tables for Page Design Lesson 4.
Learning the Basics – Lesson 1
COMPREHENSIVE Windows Tutorial 3 Personalizing Your Windows Environment.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
Chapter 19 – Macromedia Dreamweaver MX 2004
Designing a Classroom Web Site Using NVU Beginning Level.
Organizing Content by Using Dreamweaver CS5 Domain 5.
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
Tutorial 6 Creating Tables and CSS Layouts. Objectives Session 6.1 – Create a data table to display and organize data – Modify table properties and layout.
Dreamweaver CS4 Concepts and Techniques Chapter 5 Templates and Style Sheets.
Chapter 3 Working with Text and Cascading Style Sheets.
>To add a component via Page Editor, go to the View tab and check the Designing checkbox to enter Designing mode. >Next, simply click the Component button.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Creating Tables in a Web Site
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
Chapter 3 Dreamweaver: Part I The Web Warrior Guide to Web Design Technologies.
Dreamweaver CS4 Concepts and Techniques Chapter 7 Page Layout with Frames.
© Ms. Masihi.  The Dreamweaver Welcome Screen first opens when you start Dreamweaver.  This screen gives you quick access to previously opened files,
Web Technologies Website Development Trade & Industrial Education
Project 1: Creating a Dreamweaver Web Page and Local Site 1 Project Objectives Add a background image Open and close panels Display and describe the Property.
WELCOME EF 105 Spring EF 105 Computer Methods in Engineering Problem Solving Week 2: FrontPage Introduction to Software Use to create Web Pages.
1 Macromedia Dreamweaver Outline Introduction Macromedia Dreamweaver Text Styles Images and Links Symbols and Lines Tables Forms Scripting in Dreamweaver.
Adding User Interactivity – Lesson 51 Adding User Interactivity Lesson 5.
Website Development with Dreamweaver
Project 5 Templates and Style Sheets Dreamweaver MX 2004 Concepts and Techniques.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
CIS 205—Web Design & Development Dreamweaver Chapter 5 Using HTML Tables to Lay Out a Page.
Dreamweaver CS4 Concepts and Techniques Chapter 4 Forms.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
Dreamweaver CS4 Concepts and Techniques Chapter 9 Using Spry to Create Interactive Web Pages.
Dreamweaver CS4 Concepts and Techniques Chapter 2 Adding Web Pages, Links, and Images.
CREATING TEMPLATES CREATING CUSTOM CHARACTERS IMPORTING BATCH DATA SAVING DATA & TEMPLATES CREATING SERIES DATA PRINTING THE DATA.
Link-Images. Understanding Links  Absolute Links: – URL is an absolute link—it’s the complete, unique address for a single page. Ex: – use absolute links.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit G Working with Tables and Layers.
Templates and Style Sheets
Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
Layers, Image Maps, and Navigation Bars
Tutorial 3 Adding and Formatting Text with CSS Styles.
Widgets in Web Design: Where Spry Can Take You Joyce Porter Weber State University Ogden, UT.
Double –Click on the Netscape Icon on your desktop The following are a series of steps to help you get started with Netscape Composer.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
1 After completing this lesson, you will be able to: Get around the Internet with your browser. Connect to the Internet. Print Web pages. Save Web pages.
Dawn Pedersen. What is JavaScript? JavaScript is the basis for both jQuery and Spry applications JavaScript is referred to as a client-side scripting.
Lesson 14: Adding Interactivity with the Spry Framework Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Creating and Editing a Web Page
Web Site Development - Process of planning and creating a website.
Positioning Objects with CSS and Tables
Creating and Editing a Web Page Using Inline Styles
Building a Website: Layout Fall Overall Structure: Home Page Title Section Title Frame Picture UNCP Math Menu Content Footer Contact Information.
Web and Multimedia Development Copyright © Genetic Computer School 2007WM LESSON OVERVIEW  Use of Tables  Creating Tables  Try It – 1  Creating.
Word and the Writing Process. To create a document 1.On the Start menu, point to Programs, and then click Microsoft Word. A new document opens in Normal.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Adobe ® Photoshop ® CS6 Chapter 1 Editing a Photo.
Unit Objectives Create a new page Import text Set text properties
Word and the Writing Process
Chapter 2 Adding Web Pages, Links, and Images
Tutorial 6 Creating Dynamic Pages
Using Cascading Style Sheets (CSS)
Using Templates and Library Items
Presentation transcript:

Dawn Pedersen Art Institute

What is Spry? Spry is Dreamweaver’s version of JavaScript libraries. Spry effects alter the look of a page element—or of the whole page itself—when a particular event occurs. Spry effects are event-driven, so you need to decide: which event to use which HTML element to trigger it which element to apply the effect to. For example, you could attach a Spry effect to the element of a page and use the onLoad JavaScript event to trigger it when the page loads.

Working with Spry All Spry effects are grouped in the Behaviors tab within the Tag Inspector panel in Dreamweaver. Rather than getting into Spry in depth, we will use the more automated Spry UI components, which be found here: 1. Open the Insert panel 2. Choose Spry from the dropdown menu 3. Select a Spry component to insert on your page

Spry UI Components There are five basic Spry user interface components (or widgets) designed to be used out-of-the-box: Menu bars Tabbed panels Accordion panels Collapsible panels Tooltips

Working with Spry Follow these guidelines whenever working with Spry components: Always create a site definition for your site and save the current page within it. After inserting a Spry component, save all the associated files within your site, including external JavaScript and CSS files. To see the component’s details in the Property Inspector, hover your mouse over the widget in design view. When the tab appears at the top-left of the component (attached to a surrounding border,) click on it.

Exercise: Spry Menu Bar 1. Create an empty folder called “Spry” on your Desktop. 2. Create a blank HTML page in Dreamweaver (File > New, Blank Page - HTML - ).

Exercise: Spry Menu Bar 3. Save the file as “menu.html” inside your Spry folder. 4. View the page in Design view. 5. Open the Insert panel, set it to Spry, and click on Spry Menu Bar. 6. Select Horizontal from the dialog box and click OK.

Exercise: Spry Menu Bar Dreamweaver inserts a horizontal Spry Menu Bar at the top of the page. Like all Spry widgets, the menu bar is surrounded in Design view by a turquoise border with a tab at the top-left corner. The tab tells you what type of widget it is, followed by the widget’s ID attribute. Dreamweaver calls the first menu bar on a page “MenuBar 1 ”. The next one is “MenuBar 2 ” and so on.

Exercise: Spry Menu Bar Notice that the Related Files toolbar lists two files: SpryMenuBar.js and SpryMenuBarHorizontal.css. Until you save the page, these are temporary files. It’s essential that you save the file before doing anything else.

Exercise: Spry Menu Bar 7. Save menu.html. You are prompted to save the dependent files (including CSS and some image files.) 8. Click OK. The dependent Spry files are saved to a new folder in your site named SpryAssets.

Exercise: Spry Menu Bar 9. Click the Live View button in the Document toolbar. 10. Hover your mouse pointer over the menu bar. The menu bar is ready to customize. 11. Turn off Live View.

Exercise: Spry Menu Bar The Spry menu bar is a series of nested unordered lists styled with CSS to look like buttons. The submenu flyouts are controlled by JavaScript. 12. Select the menu bar in Design view (click on its turquoise tab.) 13. Click on the Turn Styles Off button in the Property Inspector. 14. Review the menu structure without the CSS styles applied. 15. Click on the Turn Styles On button in the Property Inspector.

Exercise: Spry Menu Bar You can, if you wish, turn off the styles and edit the menu directly in Design view. However, it’s more convenient to do it in the Property Inspector. 16. Select the menu bar in Design view (click on its turquoise tab.) The three columns in the Property Inspector show the menu hierarchy, with the top level on the left.

Exercise: Spry Menu Bar 17. Select an item in this left column. The middle column displays the contents of the related submenu. 18. Select an item from the middle column. The right column displays the next level down from whatever is selected in the middle one.

Exercise: Spry Menu Bar To edit a menu item: Highlight it in the Property Inspector. Fill in the fields on the right edge of the Property Inspector as follows: Text: The label you want to appear on the menu button Link: The page you want to link to. Title: Improves accessibility and displays a Tooltip on hover. Target: Allows you to open in a new window or tab. This is rarely justified for a site’s navigation menu.

Exercise: Spry Menu Bar To add an item, click the plus (+) button at the top of the relevant column. To delete an item, select it and click the minus (-) button. To change the order of items, select an item and use the up or down button at the top of the relevant column. Before moving to edit another part of the page, select one of the items in the left column first.

Exercise: Spry Menu Bar 19. Edit the menu bar you created so that each button has a label, a link, and a title: Use your IA diagram as a model, or use some sort of categorizing system. You may add, delete, or reorder items as necessary, but have at least one button at the third level. For the Link field, you can simply leave the pound (#) sign as a placeholder for some future page link. 20. Save all your files (File > Save All) and test the menu in a browser (F12).

Example: Spry Menu Bar I created a hypothetical zoo site menu.

Example: Spry Menu Bar I tested my zoo menu in a browser.

Customizing the CSS In SpryMenuBarHorizontal.css, style rules are divided into the following sections: Layout Information—for the structure, such as font sizes and menu widths Design Information—for the color scheme and borders. Submenu Indication—for the display of the arrow images. Best left alone. Browser Hacks—for dealing with Internet Explorer bugs. Leave these alone. Plenty of comments in the CSS help guide you to edit the correct style rule.