HTML5 Canvas Drag-and-Drop
The HTML5 canvas element creates a sketchpad area on a webpage where you can use JavaScript to draw 2D shapes, graphics, animations, render bitmap images, and even create online presentations and build dynamic browser games. In this article you'll learn how to use drag-and-drop in your canvas projects. More ...
Regular Expression Position Matching
In this article you how to use regular expressions to match characters at the beginning, end, both beginning and end, or at any specified location in a string. More ...
HTML5 Canvas Storing and Clearing Transformations
With HTML5 Canvas, it's possible to save the current transformation, do some drawing and transforming, and then restore the old transformation. More ...
Change the Case of a Character in a String
A common task with JavaScript is to change the case of the first letter in a string, or of an internal letter, or even change the case of an entire string. More ...
Code to Drag and Drop an Image Anywhere on a Webpage
HTML5's drag-and-drop standard is designed to let you drag text or data from a textbox or table cell, to another textbox or table cell. But what if you want to drag an image, not to a target element, but to anywhere on a webpage. Then HTML5 drag-and-drop falls short. More ...
Easy Slide Show Code With Linked Slides
A slide show sequences through pictures of products. Wouldn't it be nice if the user could stop the slide show, go back to the previous picture, click on the picture to get detailed information about the product? More ...
Debugging JavaScript : Coercions
JavaScript is not a tightly typed language. Sometimes this comes in handy, but other times it can cause problems. More ...
Easy Java Script Windows
This article gives you the basics of designing, opening, and closing browser windows using Java Script. In future articles, I will show you how to do all kinds of annoying things with windows using Java Script. More ...
How to Place Image on HTML5 Canvas
The canvas element is a webpage container for graphics. You can use JavaScript to draw graphics within the canvas element. In this article to learn how to place an image on a canvas with example code. More ...
Where Did the User Click?
This code creates a webpage with an html div containing the words ONE TWo THREE. A Java Script function uses the event object's clientX and clientY properties to determine which word the user clicked on and displays it in a message box. More ...
Easy Java Script Code for Sideways Slide show
Sideways sliding slide shows are very popular on the Web, especially with companies that want to display their products or feature various aspects of their business. It's not difficult to program a sideways slide show, and in this article I show you how to create one with some basic Java Script. More ...
Submit Forms Without CGI
There are many reasons why you might not want to use CGI forms on your Web site. For example your web site may be on a free host that does not allow custom CGI scripts. You may want to conserve bandwidth on your Web server. Or maybe you just don?t want the hassle of CGI programming. More ...
