Authoring JavaScript
|
JavaScript is a compact, object-based scripting language for
developing client and server Internet applications.
JavaScript statements can be embedded directly in an HTML page.
These statements can recognize and
respond to user events such as mouse clicks, form input, and page
navigation.
For example, you can write a JavaScript function to verify that
users enter valid information into a form.
Without any network transmission, an HTML page with embedded JavaScript
can interpret the entered text and alert the user with a message dialog
if the input is invalid.
Or you can use JavaScript to perform an action
(such as play an audio file, execute an applet,
or communicate with a plug-in) in response to
the user opening or exiting a page.
|
Last modified: August 5, 2002
JavaScript is
a programmable API that allows cross-platform scripting of events,
objects, and actions.
It allows the page designer to access events such as startups, exits,
and users' mouse clicks.
JavaScript extends the programmatic capabilities of most browsers
to a wide range of authors,
and is easy enough for anyone who can compose
HTML.
Using JavaScript, even less-experienced developers will be able to
direct responses from a variety of events, objects, and actions.
It provides anyone who can compose HTML with the ability to change
images and play different sounds in response to specified events,
such as a users' mouse click or screen exit and entry.
JavaScript + CSS + DOM Magic - Part 2
New Riders
June 14, 2002
JavaScript + CSS + DOM Magic has directly applicable projects with step-by-step instructions showing you how to master a feature and adapt it according to their own needs and creativity. Chapter 12 covers Creating the Basic Document Object Creation Script, Creating the Tab Navigation Script, and Modifying the XHTML Markup to Call the Functions. From New Riders.
JavaScript + CSS + DOM Magic
New Riders
June 7, 2002
JavaScript + CSS + DOM Magic has directly applicable projects with step-by-step instructions showing
you how to master a feature and adapt it according to their own needs and creativity. Chapter 12 covers Transitional CSS and JavaScript Strategies.
JavaScript for Non-programmers
Andrew Starling
May 13, 2002
It's possible to use JavaScript in your Web pages without spending months at night-school learning how the language works. Some scripts are plug and play - drop them in the right place on your HTML page and they'll work straight away. Others need only a small amount of customisation to meet your needs. Here we take a look at JavaScript from a non-programmers point of view.
Practical JavaScript for the Usable Web - Part 2: JavaScript in a Web Page
glasshaus
May 3, 2002
This is a new kind of JavaScript book. It's not cut'n'paste, it's not a reference, and it's not an
exhaustive investigation of the JavaScript language. It is about client-side, web-focused, and
task-oriented JavaScript. This weeks installment concludes with the JavaScript Syntax, Code Execution, Objects, and a Simple JavaScript Example. From glasshaus.
Practical JavaScript for the Usable Web
glasshaus
April 26, 2002
This is a new kind of JavaScript book. It's not cut'n'paste, it's not a reference, and it's not an exhaustive investigation of the JavaScript language. It is about client-side, web-focused, and
task-oriented JavaScript.
JavaScript Design
New Riders
March 21, 2001
The eXtensible Markup Language (XML) is one of those languages
that you hear a lot about, and generally in the superlative, but
not too many people are exactly sure what it is. This excerpt
from JavaScript Design examines how Javascript and XML work
together.
Designing with JavaScript, 2nd Edition: Part 3
This third and final installment in this series covers document
properties, objects, properties, methods, and time shifts.
Designing with JavaScript shows you how to create
the effects you want, without forcing you to wade through pages
of dry programmer-speak about variables, operators, and
functions. Each chapter demonstrates common JavaScript techniques
and explains how to customize them for your own use.
Designing with JavaScript, 2nd Edition: Part 2
In this second installment we look at the script tag and
displaying the page. Designing with JavaScript
shows you how to create the effects you want, without forcing you
to wade through pages of dry programmer-speak about variables,
operators, and functions. Each chapter demonstrates common
JavaScript techniques and explains how to customize them for your
own use.
Designing with JavaScript, 2nd Edition: Part 1
Designing with JavaScript shows you how to create the
effects you want, without forcing you to wade through pages of
dry programmer-speak about variables, operators, and functions.
Each chapter demonstrates common JavaScript techniques and
explains how to customize them for your own use. This first
installment from Chapter 1 dives right in and looks at applying
onMouseOver to your links.
Beginning JavaScript: Part 4
This fourth and final installment looks at the trivia quiz,
creating the answer radio buttons, and wraps up with a summary of
the chapter. This manuscript is an abridged version of a chapter
from the Wrox Press book Beginning JavaScript.
Chapter 6 of Beginning JavaScript covers using
information in the Web browser and takes a look at HTML forms and
how we interact with them in JavaScript.
Beginning JavaScript: Part 3
This third installment covers adding new options, adding new
options with Internet Explorer, using the select element for date
difference calculations. This manuscript is an abridged version
of a chapter from the Wrox Press book Beginning
JavaScript. Chapter 6 of Beginning
JavaScript covers using information in the Web browser
and takes a look at HTML forms and how we interact with them in
JavaScript.
Beginning JavaScript: Part 2
In this second installment, we look at text elements, a simple
form with validation, the password text box, and checkboxes and
radio buttons. This manuscript is an abridged version of a
chapter from the Wrox Press book Beginning
JavaScript. Chapter 6 of Beginning
JavaScript covers using information in the Web browser
and takes a look at HTML forms and how we interact with them in
JavaScript.
Beginning JavaScript: Part 1
This manuscript is an abridged version of a chapter from the Wrox
Press book Beginning JavaScript. Chapter 6 of
Beginning JavaScript covers using information in
the Web browser and takes a look at HTML forms and how we
interact with them in JavaScript. This first installment covers
common properties and methods, other form object properties and
methods, and button form elements.
Resources
Core JavaScript Reference 1.5
This book (in HTML format) is a reference manual for the core JavaScript
language for version 1.5. Written by the developers at Netscape
Communications.
The JavaScript Diaries
JavaScript is a versatile language which can be used to create menus,
validate forms, provide interactive calendars, post the current day's
headlines, track a visitor's history on your site and much more. This is an
ongoing series on the process of learning JavaScript.
JavaScript.com, the Definitive JavaScript Resource
For the latest and greatest JavaScript tutorials, scripts, tips and links,
be sure to visit JavaScript.com!
Events in JavaScript: An Inside Look
Events are the glue which hold together the word inter-active.
In learning to control and handle events
you bridge the gap between a two-dimensional web page and
a three-dimensional one. In this article we look closely at
events, what they are, how to handle them with
JavaScript, and
how they differ -- in some cases significantly -- between
the fourth generation versions of Netscape Navigator
and Microsoft Internet Explorer.
JavaScript Tutorial for Programmers
This JavaScript tutorial is aimed primarily at those who have had
at least some exposure to another programming language. It is not
our purpose here to cover the basic concepts of computer programming,
but rather illustrate the syntax and methodology of JavaScript.
For its part, JavaScript is a rather basic language which conforms
tightly to the core concepts of computer programming.
Any background in programming, from Visual Basic to Pascal to C
(which is far more advanced) is sufficient to readily understanding JavaScript.
Doc JavaScript
A JavaScript how-to column with biweekly prescriptions, that are sure to improve your JavaScript health. Also has a script library/pharmacy and discussion forum.
The JavaScript Source
An excellent JavaScript resource with tons of "cut & paste" JavaScript examples for your web pages. Plus, a JavaScript forum, JavaScript book recommendations, and more.
Dynamic HTML
"Dynamic HTML" is typically used to describe the combination of HTML,
style sheets and scripts that allows documents to be animated.
Dynamic HTML allows a web page to change after it's loaded into the
browser --there doesn't have to be any communication with the web
server for an update. You can think of it as 'animated' HTML.
For example, a piece of text can change from one size or color to
another, or a graphic can move from one location to another,
in response to some kind of user action, such as clicking a button.
JavaScript Scripts
Local and off-site JavaScript samples, examples, snippets, libraries...
Further Resources
...
|