Home

Submit

Source

Feeds
Tutorials » JavaScript » Event Handling

JavaScript Event Handling Tutorials

Browsers have the ability to invoke JavaScript in response to a user's actions within a Web page. For example, it's possible to specify JavaScript that is to be run whenever a user clicks a particular link or modifies a form field. The actions to which JavaScript can respond are called events. Events are the glue bringing together the user and the Web page; they enable pages to become interactive, responsive to what a user is doing. An event model defines the ways the events are processed and how they are associated with the various document and browser objects.

JavaScript Event Handling
No Right Click
JavaScript / Event Handling
We will be using a normal no right clicking script for this tutorial. This is a common script with a popup that you can add your name to.

Site: www.developingwebs.net Report - View Tutorial

JavaScript Event Handling
Adding an Alert Box
JavaScript / Event Handling
The alert box is an Ok box that a page has for you to click prior to entering the site. Usually you place a message on the alert box. This is often used in jokes. This alert box does not give you a choice to ok or cancel. All users will get to the page.

Site: www.developingwebs.net Report - View Tutorial

JavaScript Event Handling
Clear Default Values on input boxes
JavaScript / Event Handling
When you click on a textfield the default text will disappear. And when you click somewhere else and you have written nothing in it, the text will come back.

Site: xonium.net Report - View Tutorial

JavaScript Event Handling
Change table row and column background color onmouseover
JavaScript / Event Handling
When you move your mouse over a column that column will get a color of your choice and the row will also get a color of your choice.

Site: xonium.net Report - View Tutorial

JavaScript Event Handling
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!

Site: www.htmlgoodies.com Report - View Tutorial

JavaScript Event Handling
Changing the Background Colour
JavaScript / Event Handling
Yet another snippet of JavaScript code, folks. This time we'll be using JavaScript to change a background color with a MouseOver and a mouse click.

Site: www.webdesign.org Report - View Tutorial

JavaScript Event Handling
Stop Right Mouse Clicks
JavaScript / Event Handling
Stop people from getting at your source by right clicking on your web page. Sounds good, but doesn't protect you totally, you can never fully protect your work, but it will make it harder.

Site: www.webdesign.org Report - View Tutorial

JavaScript Event Handling
onMouseover? What's This?
JavaScript / Event Handling
Well, its time to try out your first javascript. This one is nice because we don't have to deal with adding the script tag. This little script will write something of your choice to the browser's status bar when you move your mouse over a link.

Site: www.webdesign.org Report - View Tutorial

JavaScript Event Handling
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.

Site: www.webdesign.org Report - View Tutorial

JavaScript Event Handling
Creating Alerts
JavaScript / Event Handling
So you've seen those annoying websites that have alert boxes appearing every time you click or open something and wondered how to do it? Well here's your answer.

Site: www.webdesign.org Report - View Tutorial

JavaScript Event Handling
Javascript Disable Right Click
JavaScript / Event Handling
If you have quality content on your webpage and want to prevent people stealing your resources, you can add this script to disable the right-mouse click.

Site: www.reconn.us Report - View Tutorial

JavaScript Event Handling
Disabling the Right-click Mouse Button in JavaScript
JavaScript / Event Handling
Sometimes you don't want the visitor to be able to click the right mouse button and do all the stuff associated with it. Although personally I'm not in favor of such gimmicks and limit the visitor's independence, you learn something new in this tutorial.

Site: www.codebeach.com Report - View Tutorial

JavaScript Event Handling
Simple 'Chalk' Board
JavaScript / Event Handling
In this tutorial we will see how to Simple 'Chalk' Board .

Site: jackdonnell.com Report - View Tutorial

JavaScript Event Handling
Universal JavaScript Rollovers
JavaScript / Event Handling
Have you ever seen an image move, change color, or even pop up when you place the pointer over that image? If so, you were most likely experiencing a JavaScript rollover. Rollovers are an excellent way of adding dynamic elements to a web page without penalizing browsers that do not support the necessary features (if the rollover is programmed properly).

Site: www.webreference.com Report - View Tutorial

JavaScript Event Handling
Events in JavaScript: An Inside Look
JavaScript / Event Handling
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.

Site: www.wdvl.com Report - View Tutorial

 
Site Search

 
JavaScript »
 
Categories
2D Graphics 3D Graphics Office Applications Databases Desktop Programming Web Development
 
Advertisement