Lesson 30: JavaScript and DHTML Fundamentals. Objectives Define and contrast client-side and server-side technologies used to create dynamic content for.

Slides:



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

Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 11: Advanced Web Technologies.
JavaScript Objects - DOM CST 200 JavaScript. Objectives Introduce JavaScript objects Introduce Document Object Model Introduce window object Introduce.
The Web Warrior Guide to Web Design Technologies
Understand Web Page Development Software Development Fundamentals LESSON 4.1.
Languages for Dynamic Web Documents
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic JavaScript: Introduction to Scripting.
Server-Side vs. Client-Side Scripting Languages
Chapter Concepts Review Markup Languages
1 Owais Mohammad Haq Department of Computer Science Eastern Michigan University April, 2005 Java Script.
Lecture 3B: Client-Side Scripting IT 202—Internet Applications Based on notes developed by Morgan Benton.
HTML Recall that HTML is static in that it describes how a page is to be displayed, but it doesn’t provide for interaction or animation. A page created.
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.
CSC 2720 Building Web Applications JavaScript. Introduction  JavaScript is a scripting language most often used for client-side web development.  JavaScript.
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.
INTRODUCTION TO DHTML. TOPICS TO BE DISCUSSED……….  Introduction Introduction  UsesUses  ComponentsComponents  Difference between HTML and DHTMLDifference.
4.1 JavaScript Introduction
CS346 - Javascript 1, 21 Module 1 Introduction to JavaScript CS346.
HTML Forms and Scripts. Session overview What are forms? Static vs dynamic Client-side scripts –JavaScript.
 2004 Prentice Hall, Inc. All rights reserved. Chapter 13 - Dynamic HTML: Object Model and Collections Outline 13.1 Introduction 13.2 Object Referencing.
Introduction to JavaScript 11 Introduction to Programming the WWW I CMSC Winter 2004 Lecture 14.
2440: 211 Interactive Web Programming Introduction to the Internet & the World Wide Web.
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
1 JavaScript E-Commerce Prof. Sheizaf Rafaeli
Copyright © 2002 ProsoftTraining. All rights reserved. JavaScript Fundamentals.
Lesson 19. JavaScript errors Since JavaScript is an interpreted language, syntax errors will usually cause the script to fail. Both browsers will provide.
JavaScript Tabriz university Its September 1995.
JavaScript is a client-side scripting language. Programs run in the web browser on the client's computer. (PHP, in contrast, is a server-side scripting.
DHTML: Dynamic HTML Internet Technology1. What is DHTML? A collection of enhancements to HTML ► To create dynamic and interactive websites Combination.
AJAX Making Dynamic Web pages more Dynamic Jim Hendricks April 25th, 2006.
Creating an Animated Web Page
Working with Objects Creating a Dynamic Web Page.
CITS1231 Web Technologies JavaScript and Document Object Model.
Client Scripting1 Internet Systems Design. Client Scripting2 n “A scripting language is a programming language that is used to manipulate, customize,
Flash & JavaScript Mariela Hristova October 19, 2004 INF 385E – Fall 2004 – School of Information.
Lesson13. JavaScript JavaScript is an interpreted language, designed to function within a web browser. It can also be used on the server.
Web Design and Development for E-Business By Jensen J. Zhao Copyright 2003 Prentice Hall, Inc. Web Design and Development for E-Business Jensen J. Zhao.
An Introduction to JavaScript Summarized from Chapter 6 of “Web Programming: Building Internet Applications”, 3 rd Edition.
DHTML - Introduction Chapter Introduction to DHTML, the DOM, JS review.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
 2001 Deitel & Associates, Inc. All rights reserved. 1 Chapter 20 – Dynamic HTML: Object Model and Collections Outline 20.1Introduction 20.2Object Referencing.
DHTML: Working with Objects Creating a Dynamic Web Page.
Introduction to Programming the WWW I CMSC Summer 2003 Lecture 7.
JavaScript - A Web Script Language Fred Durao
Chapter 7: DHTML: Object Model and Collections CIS 275—Web Application Development for Business I.
 2004 Prentice Hall, Inc. All rights reserved. Chapter 13 - Dynamic HTML: Object Model and Collections Outline 13.1 Introduction 13.2 Object Referencing.
JSON and A Comparison of Scripts. JSON: JavaScript Object Notation Based on a subset of the JavaScript Programming Language provides a standardized data.
Introduction to the Document Object Model DOM *Understand document structure manipulation *Dynamic effects in web pages *Programming, scripting, web content.
JavaScript Tutorial 1 - Introduction to JavaScript1 Tutorial 1 Introduction to JavaScript Section A – Programming, HTML, and JavaScript.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
By Tharith Sriv. To write a web page you use: HHTML (HyperText Markup Language), AASP (Active Server Page), PPHP (HyperText Preprocessor), JJavaScript,
© 2000 – All Rights Reserved - Page 1 Introduction to JavaScript Programming Part One.
TOPIC II Dynamic HTML Prepared by: Nimcan Cabd Cali.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Document Object Model Nasrullah. DOM When a page is loaded,browser creates a Document Object Model of the Page.
JavaScript & Introduction to AJAX
Java Script. What is JavaScript ? It is an scripting language, developed by Netscape Navigator. It can be used to replace CGI scripts for client-side.
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 15 – Dynamic HTML: Object Model and Collections Outline 15.1Introduction 15.2Object Referencing.
1 CSC160 Chapter 1: Introduction to JavaScript Chapter 2: Placing JavaScript in an HTML File.
The Web Wizard’s Guide To DHTML and CSS Chapter 2 A Review of CSS2 and JavaScript.
Javascript Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
Chapter 13: DHTML: Object Model and Collections CIS 275—Web Application Development for Business I.
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
The Web Wizard’s Guide To JavaScript
DHTML Javascript Internet Technology.
Chapter 13 - Dynamic HTML: Object Model and Collections
DHTML Javascript Internet Technology.
Unit 6 part 3 Test Javascript Test.
Introduction to DHTML, the DOM, JS review
Presentation transcript:

Lesson 30: JavaScript and DHTML Fundamentals

Objectives Define and contrast client-side and server-side technologies used to create dynamic content for Web pages Use JavaScript dot notation to access X/HTML objects Identify common JavaScript objects, properties and methods Use JavaScript to detect browsers, redirect pages, preload pages and confirm user choices Define Dynamic HTML (DHTML) and the technologies it requires, and identify browser-specific DHTML code for use with Microsoft Internet Explorer, Netscape and Mozilla

JavaScript and Common Programming Concepts Scripting languages –Subsets of larger languages Objects –Encapsulate predetermined attributes or behaviors Properties –Represent various attributes of the object Methods –Actions an object can be made to perform

What Is JavaScript? Scripting language Object-based, not object-oriented Event-driven Strengths of JavaScript –Quick development –Easy to learn –Platform independence

JavaScript vs. Other Languages JavaScript vs. Java JavaScript vs. VBScript JavaScript vs. JScript –ECMA Script

Embedding JavaScript into X/HTML The tag Document or section Dot notation

Using JavaScript to Communicate with the User The alert() method The prompt() method –Concatenation The open() method

Using JavaScript for Browser Detection The navigator object Sniffers and redirections Image preloading

Dynamic HTML (DHTML) DHTML and the Document Object Model (DOM) DHTML limitations CSS and DHTML Scripting languages and DHTML DHTML implementation Cross-browser DHTML

Summary Define and contrast client-side and server-side technologies used to create dynamic content for Web pages Use JavaScript dot notation to access X/HTML objects Identify common JavaScript objects, properties and methods Use JavaScript to detect browsers, redirect pages, preload pages and confirm user choices Define Dynamic HTML (DHTML) and the technologies it requires, and identify browser-specific DHTML code for use with Microsoft Internet Explorer, Netscape and Mozilla