Todays topic is JavaScript and jQuery.
Remember that Java is not JavaScript (see Web Teacher link below), and that
EVENT+OBJECT=ACTION defines what JavaScript does (here is a demo of event handlers).JavaScript is used in HTML & CSS Chapter 9. There are lots of sites and resources that deal with JavaScript, often under the heading of DHTML.. Some other standards include:
- Dynamic Drive with free scripts including Lightbox 2.0 and my Lightbox demo
- Website Abstractions with good Q&A and scripts
- A basic tutorial from Web Teacher
- A PDF from TutorialsPoint
- Good up-to-date overview at Eloquent JavaScript
Most important, understand the code behind this demo that I put together using mainly pre-defined functions, plus the Last updated script on this page.jQuery is a set of prebuilt JavaScript functions that are called by jQuery() or $() (shorthand). The best place to start is the official site. Here is the Getting Started tutorial at jQuery.com,
We'll write a five-line JavaScript that outputs the sum of two integers. For JavaScript dropdowns, now feasible in CSS, you could try Dynamic Drive's Anylink dropdown menu. Also JavaScript.com is a good place to start.
Site maintained by John Beatty