Image Rotate with CANVAS
General
CANVAS is a new HTML element which can be used to draw graphics using JavaScript. This script will rotate an image a varying amount of degrees: 90, 180, -90, and back to 0. Can be used in many different ways.
rotate:
Notes
- Created by: Benoit Asselin
- Web Site: http://www.ab-d.fr
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: imgRotateCanvas.js
Head
Paste this code into the HEAD section of your HTML document.
Body
Paste this code into the BODY section of your HTML document


Leave a Response
(3 comments)Search a long time for a thing like that.[br /]Thanks a lot!
That's very Good.
that's just cool!