The Web Wizard’s Guide To DHTML and CSS Chapter 2 A Review of CSS2 and JavaScript.

Slides:



Advertisements
Similar presentations
The Web Wizards Guide To JavaScript Chapter 1 JavaScript Basics.
Advertisements

© 2010 Delmar, Cengage Learning Chapter 9 Positioning Objects with AP Div Tags.
© Park University, 2006 Creating an Interactive Web Page with DHTML and JavaScript Park University.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. September 22, 2010—All HTML code brought to XHTML standards. Reference for CIS127 and.
© 2011 Delmar, Cengage Learning Chapter 10 Positioning Objects with AP Divs.
The Web Warrior Guide to Web Design Technologies
Ch. 6 Web Page Design – Absolute Positioning, Image Maps, and Navigation Bars Mr. Ursone.
Web-based Application Development Lecture 9 February 7, 2006 Anita Raja.
XP 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
Chapter 9 Introduction to the Document Object Model (DOM) JavaScript, Third Edition.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
Working with Cascading Style Sheets. 2 Objectives Introducing Cascading Style Sheets Using Inline Styles Using Embedded Styles Using an External Style.
Svetlin Nakov Telerik Web Design Course html5course.telerik.com Manager Technical Training
DHTML - Introduction Introduction to DHTML, the DOM, JS review.
The Web Wizard’s Guide To DHTML and CSS Chapter 1 A Review of CSS1.
INTRODUCTION TO DHTML. TOPICS TO BE DISCUSSED……….  Introduction Introduction  UsesUses  ComponentsComponents  Difference between HTML and DHTMLDifference.
Chapter 11-Multimedia Authoring Tools. Overview Introduction to multimedia authoring tools. Types of authoring tools. Cross-platform authoring notes.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
XP Tutorial 7New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks.
Tutorial 7 Working with Multimedia. XP Introducing Multimedia Bandwidth is a measure of the amount of data that can be sent through a communication pipeline.
Tutorial 4: Using CSS for Page Layout. 2 Objectives Session 4.1 Explore CSS layout Compare types of floating layouts Examine code for CSS layouts View.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
BUILDING RICH MEDIA ELEMENTS. Design Decisions Based on Design Specification  Following the design specification will ensure that the application is.
Chapter 18 Web Design April 16 th & 17 th. Content The most essential element of any Web page is the content Before you begin a Web page you want to know.
Tutorial 4 Creating Special Effects with CSS
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
DHTML Positioning and Layout. What is DHTML? HTML and xHTML CSS JavaScript or VBScript.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
Integrating JavaScript and HTML5 HTML5 & CSS 7 th Edition.
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
Introduction to Programming the WWW I CMSC Summer 2004 Lecture 7.
Flash & JavaScript Mariela Hristova October 19, 2004 INF 385E – Fall 2004 – School of Information.
DHTML - Introduction Chapter Introduction to DHTML, the DOM, JS review.
Tutorial 7 Working with Multimedia. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Explore various multimedia applications.
Tutorial 7 Working with Multimedia. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Explore various multimedia applications.
Tutorial 7 Planning and Creating a Flash Web Site.
Interactive Client-Side Technologies MMIS 656 Web Design Technologies Acknowledgements: Estrella, S. (2003). The Web Wizard’s Guide to DHTML and CSS.
Introduction to Programming the WWW I CMSC Summer 2003 Lecture 7.
 2004 Prentice Hall, Inc. All rights reserved. Chapter 13 - Dynamic HTML: Object Model and Collections Outline 13.1 Introduction 13.2 Object Referencing.
Svetlin Nakov Telerik Corporation
Cs332a_chapt10.ppt CS332A Advanced HTML Programming DHTML Dynamic Hypertext Markup Language A term describing a series of technologies Not a stand-a-lone.
Project 6: Kayaking HTML5 Site
TOPIC II Dynamic HTML Prepared by: Nimcan Cabd Cali.
Web Development & Design Foundations with XHTML Chapter 11 Key Concepts.
XP Tutorial 7 Creating a Flash Web Site. XP New Perspectives on Macromedia Flash 82 Objectives Plan and create a Flash Web site Create a Flash template.
CNIT 132 – Week 4 Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of.
Chapter 11 Adding Media and Interactivity. Chapter 11 Lessons Introduction 1.Add and modify Flash objects 2.Add rollover images 3.Add behaviors 4.Add.
The Web Wizard’s Guide To JavaScript Chapter 9 Applied Web Programming Techniques.
MTA EXAM HTML5 Application Development Fundamentals.
Tutorial 4 Creating Page Layouts with CSS
Introduction to Programming the WWW I CMSC Summer 2003 Lecture 6.
Project 7: Exploring DHTML Essentials for Design JavaScript Level Two Michael Brooks.
Chapter 10 Dynamic HTML (DHTML) JavaScript, Third Edition.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 6 1 Creating Dynamic Pages.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
The Web Wizard’s Guide To DHTML and CSS Chapter 2 A Review of CSS2 and JavaScript.
Introduction to Programming the WWW I CMSC Summer 2004 Lecture 8.
CIS 375—Web App Dev II DHTML. 2 Introduction to DHTML _________ HTML is “a term used by some vendors to describe the combination of HTML, style sheets.
Working with Cascading Style Sheets
Creating a Flash Web Site
Using DHTML to Enhance Web Pages
Intro to JavaScript CS 1150 Spring 2017.
Section 17.1 Section 17.2 Add an audio file using HTML
The Web Wizard’s Guide To DHTML and CSS
The Web Wizard’s Guide To DHTML and CSS
Tutorial 6 Creating Dynamic Pages
Working with Multimedia
Unit 6 part 3 Test Javascript Test.
Presentation transcript:

The Web Wizard’s Guide To DHTML and CSS Chapter 2 A Review of CSS2 and JavaScript

Chapter Objectives To review how to position, hide, and show content, using CSS2 To understand how CSS works with a scripting language to create Dynamic HTML To review the fundamentals of JavaScript To learn about the Document Object Model To create a three-dimensional animation To examine the pros and cons of animation with DHTML versus Flash

A Review of CSS2 Expands on CSS1 by adding (among others) The position property –Can position HTML elements at an absolute location on the screen, relative to other elements, or both.absoluterelativeboth The visibility property –Can be used to hide elements from view

A Review of CSS2 (cont.) The overflow property –Allows you to specify the width and height of the bounding box surrounding any block-level element. Can be set to hidden (crops the text), scroll (always display scroll-bars), or auto (display scroll-bars only if needed) The clip property –Allows you to crop an image or other element using code to specify how much is visible. Can be applied only to absolutely positioned elements.crop an image

HTML 4 + CSS + JavaScript = DHTML If DHTML were a dramatic play: –The Document Object Model (DOM) would represent the theater including playhouses, stages, and curtains and would contain basic assumptions about how the directors and actors work with these elements. –HTML would represent the script of the play (e.g. its content) –CSS would represent the appearance details of the play including costuming, sets, and position of the actors on the stage –JavaScript would represent the blocking and choreography –Web browsers would represent the different interpretations of the play by different acting companies

Animating with DHTML Create the HTMLHTML Absolute position your objects Be aware of z-index stacking Call an init() function in the onload handler Store generic functions in an external library

DHTML vs. Flash Flash Advantages Flash gives more control over animations. Flash animations look the same on all browsers and platforms. Flash files embed any fonts needed for display of highly stylized text. Flash works better with sound and video. Flash is a little easier to learn than DHTML There are versions of the Flash plug-in for obsolete browsers.

DHTML vs. Flash DHTML Advantages Works better with the browser’s back button. DHTML text can be searched and selected. DHTML requires only a text editor. Flash files require a plug-in. DHTML integrates well with HTML. DHTML is often better for navigation. DHTML works anywhere on the page