Cs332a_chapt10.ppt CS332A Advanced HTML Programming DHTML Dynamic Hypertext Markup Language A term describing a series of technologies Not a stand-a-lone.

Slides:



Advertisements
Similar presentations
17 HTML, Scripting, and Interactivity Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and.
Advertisements

Chapter 08: Adding Adding Interactivity Interactivity With With Behaviors Behaviors By Bill Bennett Associate Professor MSJC CIS MVC.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 11: Advanced Web Technologies.
Essentials for Design JavaScript Level One Michael Brooks
JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
Authoring Languages and Web Authoring Software 4.01 Examine web page development and design.
The Web Warrior Guide to Web Design Technologies
Project 1 Introduction to HTML.
Chapter Concepts Review Markup Languages
Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
JavaScript 101 Lesson 5: Introduction to Events. Lesson Topics Event driven programming Events and event handlers The onClick event handler for hyperlinks.
Chapter 9 Introduction to the Document Object Model (DOM) JavaScript, Third Edition.
Chapter 7: Dynamic HTML and Animation JavaScript - Introductory.
1st Project Introduction to HTML.
A closer look Dynamic Webpages Jessica Meyerson March 1, 2011.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
Dobrin / Keller / Weisser : Technical Communication in the Twenty-First Century. © 2008 Pearson Education. Upper Saddle River, NJ, All Rights Reserved.
Chapter 14-Designing for the World Wide Web. Overview Introducing multimedia on the Web. Designing text for the Web. Creating images for the Web. Adding.
Cs413_design01.ppt Web Design vs. GUI Design Designing for the Web: the designer has to give up full control of the design In traditional design, you control.
DHTML - Introduction Introduction to DHTML, the DOM, JS review.
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
DHTML. What is DHTML?  DHTML is the combination of several built-in browser features in fourth generation browsers that enable a web page to be more.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
10 Adding Interactivity to a Web Site Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common.
Lesson 19. JavaScript errors Since JavaScript is an interpreted language, syntax errors will usually cause the script to fail. Both browsers will provide.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
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.
Lesson13. JavaScript JavaScript is an interpreted language, designed to function within a web browser. It can also be used on the server.
Introduction to HTML Tutorial 1 eXtensible Markup Language (XML)
JavaScript, Fourth Edition
DHTML - Introduction Chapter Introduction to DHTML, the DOM, JS review.
Introduction to Programming the WWW I CMSC Summer 2003 Lecture 7.
Building Rich Web Applications with Ajax Linda Dailey Paulson IEEE – Computer, October 05 (Vol.38, No.10) Presented by Jingming Zhang.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
Introduction to the Document Object Model DOM *Understand document structure manipulation *Dynamic effects in web pages *Programming, scripting, web content.
Dynamic Web Pages Jin Wu INF 385E Information Architecture School of Information 11/2/2006 Jin Wu INF 385E Information Architecture School of Information.
CSS1 Dynamic HTML Objects, Collections & Events. CSS2 Introduction Dynamic HTML treats HTML elements as objects. Element’s parameters can be treated as.
TOPIC II Dynamic HTML Prepared by: Nimcan Cabd Cali.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 14 Key Concepts 1 Copyright © Terry Felke-Morris.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Web Programming Overview. Introduction HTML is limited - it cannot manipulate data How Web pages are extended (include): –Java: an object-oriented programming.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Document Object Model Nasrullah. DOM When a page is loaded,browser creates a Document Object Model of the Page.
Introduction to the World Wide Web & Internet CIS 101.
Chapter 10 Dynamic HTML (DHTML) JavaScript, Third Edition.
Learning Aim C.  Creating web pages involves many considerations.  In this section we will look at the different software tools you can use and how.
DHTML.
Project 1 Introduction to HTML.
Using DHTML to Enhance Web Pages
Human Computer Interaction
JavaScript Event Handling.
Section 17.1 Section 17.2 Add an audio file using HTML
Web Development & Design Foundations with HTML5 7th Edition
Unit 2, Lesson 5 Website Development Tools
Unit 2, Lesson 5 Website Development Tools
14 A Brief Look at JavaScript and jQuery.
DHTML Javascript Internet Technology.
Dynamic Web Pages Jin Wu INF 385E Information Architecture
DHTML Javascript Internet Technology.
Introduction to DHTML, the DOM, JS review
Presentation transcript:

cs332a_chapt10.ppt CS332A Advanced HTML Programming DHTML Dynamic Hypertext Markup Language A term describing a series of technologies Not a stand-a-lone technology (such as HTML, Java) Browser pages react without server assistance Server Side scripting: CGI Program is executed on the server and the results returned in a web page Client Side scripting: Program is executed in the computer of the web page visitor. The server is not accessed. 78 Chapter 10

cs332a_chapt10.ppt DHTML Browser Specific Technologies Netscape JavaScript Style Sheets Netscape layers (CSS prototypes) Microsoft ActiveX (GUI objects) Visual Filters (visual effects on graphics and text) Cross Browser Technologies Cascading style sheets (CSS) JavaScript Document Object Model (DOM) (connect window objects to scripts)

cs332a_chapt10.ppt DHTML DHTML Advantages Supported by most browsers Small file sizes (text files) No plug-ins required Easy to learn HTML JavaScript Fast Development HTML JavaScript Faster Web Experience Manipulate browser objects on the client side Java not required

cs332a_chapt10.ppt DHTML Disadvantages Browser and OS incompatibilities Variations in browser vendors (Netscape vs IE) Variations in browser versions (same vendor) Variations of OS Variations of OS Versions Syntax CSS and JavaScript are sensitive Browser issues (bugs) DHTML

cs332a_chapt10.ppt Flash Vector animation creation program File type.swf Advantages Consistent display across software and hardware Ubiquitous across the Internet (95%) Attractive designs can be created Small files Disadvantages Difficult to learn and create Plug-ins required Usability abuses User confusion when visiting Too much inconsistency Too much screen activity Slower download time Large files DHTML

cs332a_chapt10.ppt Flash vs. DHTML DHTML adds interactivity to web pages using HTML CSS JavaScript Considerations Available technology Will the audience have the available technology DHTML browsers? Plug-ins? Cost DHTML/HTML no cost Flash Purchase design programs Training curve Multimedia Flash is better than DHTML Content Text: DHTML/HTML are best Time Development and maintenance Audience Expectations Flash: very active and flashy DHTML: more straight forward DHTML

cs332a_chapt10.ppt Document Object Model (DOM) Connects an object Element defined with an ID or name attribute (CSS) to a JavaScript function Allows any property to be changed Connects the object with a JavaScript function Identifying and object Netscape Name to identify an image ID to identify elements that are NOT images ID to identify an image MS IE Name to identify an image ID to identify elements that are NOT images Layers: objects using an ID attribute DHTML

cs332a_chapt10.ppt Script to Object message What the object should be displaying (image src) What CSS styles should be used Identification/communication window.document.images.button1 The current window and current document image named button1 PNG file format an extensible file format for raster images the set of horizontal lines composed of pixels, used to form an image on a CRT screen replacement for GIF DHTML

cs332a_chapt10.ppt Events Occur when something happens in the browser window Action samples Loading of a new document Leaving a web page Mouse movement Key is pressed Browser window is moved Event Handlers Programs built into the browser An internal program in the browser (Event Handler) is activated upon an occurrence of an event. Specific program agents handle specific events Connects and action in the window to a JavaScript function which causes some reaction. Table 11.2, Page 181: Event Handlers DHTML

cs332a_chapt10.ppt LAB 1: Go to the following web site Page 181, Figure 11.4 Demonstrations of various Event Handlers DHTML

cs332a_chapt10.ppt LAB 2: mouseover with a link 1. Create an html file named dhtml01.htm 2. Download the following images from: F:\Assign\Fulcher\cs332a no_pict.gif place.gif 3. Insert the following code into dhtml01.htm DHTML Sample 1: onMouseOver File: dhtml01.htm 4. Load the html file into the browser DHTML

cs332a_chapt10.ppt LAB 3: mouseover with no link Add the following code to the html file: DHTML

cs332a_chapt10.ppt LAB 4: mouseover and mouseout Add the following code to the html file for button2: <a href="#" onMouseOver= "document.images.button3.src='no_pict.gif'"; onMouseOut= "document.images.button3.src='place.gif'"> DHTML