CIS 145 AB2 Winter 2016 chapter14 - WEB DEVELOPMENT DESIGN...

This preview shows page 1 - 11 out of 57 pages.

We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Enhanced Discovering Computers
The document you are viewing contains questions related to this textbook.
Chapter 11 / Exercise 7
Enhanced Discovering Computers
Sebok/Vermaat
Expert Verified
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 14 A Brief Look at JavaScript and jQuery CIS 145 Winter 2016 AB2 Instructor: Paul Franklin
We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Enhanced Discovering Computers
The document you are viewing contains questions related to this textbook.
Chapter 11 / Exercise 7
Enhanced Discovering Computers
Sebok/Vermaat
Expert Verified
Copyright © Terry Felke-Morris WEB INFORMATION Instructor: CIS 145 Course page: franklinp/cis145w16.htm CIS 145 Course news page: franklinp/145coursenews.htm WINTER 2016 AB2 2
Copyright © Terry Felke-Morris LEARNING OUTCOMES In this chapter, you will learn how to: Describe common uses of JavaScript in web pages. Describe the purpose of the Document Object Model and list some common events. Create a simple JavaScript using the script element and the alert() method. Use variables, operators and the if control structure. Create a basic form validation script. Describe common uses of jQuery. Describe how to obtain jQuery. Use jQuery selectors and methods. Configure an image gallery with jQuery. Describe the purpose of jQuery plugins. 3 WINTER 2016 AB2
Copyright © Terry Felke-Morris WHAT IS JAVASCRIPT? Object-based scripting language Works with the objects associated with a Web page document the window the document the elements such as forms, images, hyperlinks, etc. 4 WINTER 2016 AB2
Copyright © Terry Felke-Morris WHAT IS JAVASCRIPT? Originally developed by Netscape Named LiveScript Netscape & Sun Microsystems Collaboration LiveScript renamed JavaScript JavaScript is NOT Java 5 WINTER 2016 AB2
Copyright © Terry Felke-Morris COMMON USES OF JAVASCRIPT Display a message box Select list navigation Edit and validate form information Create a new window with a specified size and screen position Image Rollovers Status Messages Display Current Date Calculations 6 WINTER 2016 AB2
Copyright © Terry Felke-Morris CODING JAVASCRIPT JavaScript statements can be coded on a web page using two different techniques: Place JavaScript code between <script> tags Place JavaScript code as part of an event attached to an HTML element 7 WINTER 2016 AB2
Copyright © Terry Felke-Morris JAVASCRIPT: USING THE SCRIPT ELEMENT The script element A container tag May be placed in either the head or the body section of a web page <script type="text/javascript"> <!- - alert("Welcome to Our Site"); // - -> </script> 8 WINTER 2016 AB2
Copyright © Terry Felke-Morris HANDS-ON PRACTICE 14.1 Page 562 JavaScript alert message box Student file: alert.html File chapter14/alert.html WINTER 2016 AB2 9
Copyright © Terry Felke-Morris CHECKPOINT 1. Describe at least three popular uses for JavaScript. 2. How many JavaScript code blocks can be embedded in an HTML document?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture