Presentation is loading. Please wait.

Presentation is loading. Please wait.

Murach's JavaScript and jQuery (3rd Ed.)

Similar presentations


Presentation on theme: "Murach's JavaScript and jQuery (3rd Ed.)"— Presentation transcript:

1 Murach's JavaScript and jQuery (3rd Ed.)
Chapter 7 © 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)

2 Common HTML elements that have default actions for the click event
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)

3 DOM-compliant code that cancels the default action
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)

4 Cross-browser compatible code that cancels the default action
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)

5 How to preload an image with the Image object
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)

6 Murach's JavaScript and jQuery (3rd Ed.)
How to preload all images referenced by the href attributes of <a> tags © 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)

7 The user interface for the Image Swap application
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)

8 The HTML for the Image Swap application
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)

9 Murach's JavaScript and jQuery (3rd Ed.)
The swap.js file © 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)

10 The swap.js file (continued)
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)

11 Extra 7-1 Develop the Clock application
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)


Download ppt "Murach's JavaScript and jQuery (3rd Ed.)"

Similar presentations


Ads by Google