HTML and CSS Reference
In-Depth Information
Figure 5-1. A ball moving from one point to another along the line, with the points drawn for
Example 5-2 is the full code listing for CH5EX2.html .
Example 5-2. Moving on a simple line
<!doctype html>
<html lang="en">
<meta charset="UTF-8">
<title>CH5EX2: Moving On A Simple Line</title>
<script src="modernizr-1.6.min.js"></script>
<script type="text/javascript">
window.addEventListener('load', eventWindowLoaded, false);
function eventWindowLoaded() {
function canvasSupport () {
return Modernizr.canvas;
Search WWH ::

Custom Search