This tutorial will show you how to get the pressed key in the browser window, whether it's Ctrl, Alt, Shift, Page Up, Arrow Up or any other key. There's both an Internet Explorer and a Firefox way of doing this.
Javascript Event Handlers JavaScript / Event Handling
An event handler executes a segment of a code based on certain events occurring within the application, such as onLoad or onClick. JavaScript event handers can be divided into two parts: interactive event handlers and non-interactive event handlers. An interactive event handler is the one that depends on user interaction with the form or the document.
Functions JavaScript / Getting Started
Sometimes instead of just adding your javascript to the page and having the browser perform the tasks as soon as the script is read, you might want your javascript to be performed only upon the detection of a certain event. A function is a block of code which can be called from any point in a script after it has been declared. It is basically a compartmentalized JavaScript designed to accomplish a single task.
JavaScript Confirmation Boxes JavaScript / Event Handling
A javascript confirmation box can be a handy way to give your visitors a choice of whether or not an action is performed. A confirmation box will pop up much like an alert box, but will allow the viewer to press an "OK" or "Cancel" button.
Javascript Tutorial For Beginners JavaScript / Getting Started
In this tutorial, you will learn how to: Create JavaScript tags and attributes; Embed and include an external js file; Output text with "write" and "writeln" methods; Use other document object methods; Create mesage boxes; Use variables and set up conditions; Create functions; Use event handlers to link with other page or open a new window; Check forms and access form elements; Display date and time; Open and control a window; Deal with frames.
Capturing a Key JavaScript / Miscellaneous
The user presses a key, and something happens. Exactly what is up to you. This works across browsers and with all ASCII characters.
Javascript Image Gallery Using Mootools JavaScript / Miscellaneous
This free image gallery based on javascript is a quick & easy solution. Implementing the demo doesn’t requre knowledge of any javascript. In this article, I’ll explain and breakdown the javascript that runs the image gallery using the javascript framework Mootools.
Javascript Essentials JavaScript / Getting Started
Let's face it, not everyone wants to know everything there is about javascript. Some people just want to know enough to apply others javascript scripts to their own page. If you are that kind of person then this article is for you.
Calculating the difference between two dates JavaScript / Date and Time
Calculating the difference between two dates in JavaScript is relatively straightforward, provided you choose the right Date methods to work with. Whichever way you get there, the potential applications on date differences are many, from counting down to a particular event, counting up from a past date, to dynamically indicating what's new on your page.
Andy's Introduction to JavaScript JavaScript / Getting Started
This is an introductory, easy to follow tutorials on JavaScript. It also includes several advanced JavaScripts such as JavaScript live clock, Image flip, and Drop down menu box.
Advanced Java Script: onClick and onMouseOver JavaScript / Event Handling
What we're going to go over here are a certain class of JavaScript commands called "Event Handlers." These are commands that work directly with existing HTML commands. They work so closely in fact, they work by being embedded right into the HTML command itself. OnMouseOver, OnLoad, and OnClick JavaScripts, all offered here!