Skip to content

Instantly share code, notes, and snippets.

View tnibert's full-sized avatar

Timothy Nibert tnibert

View GitHub Profile
@rumblestrut
rumblestrut / rotate.js
Created May 4, 2011 21:11
Rotating images with javascript
Oh sure, you could do this with jQuery, but in my early days, this is what I used ...
<script>
<!--
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 8000
// Duration of crossfade (seconds)
var crossFadeDuration = 3
@seungjin
seungjin / imageRotate.js
Created June 17, 2009 01:33
image ratate javascript (rotate image 90 degree....)
/* image rotate javascript */
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Benoit Asselin | http://www.ab-d.fr */
function rotate(p_deg) {
if(document.getElementById('canvas')) {
/*
Ok!: Firefox 2, Safari 3, Opera 9.5b2