This library provides a virtual
raster scrolling's
effect for images and block elements.
Tested on
Internet Explorer 7.0, Firefox 1.5, Opera 8.5, Safari 2.0.3 and OmniWeb 5.1.3.
Source archive:
Animation.Raster-0.02.tar.gz
TARGZ
JSAN
.js source file only:
lib/Animation/Raster.js
JavaScript
Document:
README
README
Changes
Changes
Try some images on flickr!
.tar.gz archive and test scripts are not available yet.
Usage:
var ras = new Animation.Raster( id_or_elem, image_url ); ras.lineHeight = 4; // scroll line's height ras.clip = false; // clip animation area (default: true) ras.background = "#000000"; // animation area's background ras.downSeconds = 1.0; // falling down animation ras.fadeSeconds = 4.0; // fading wave animation ras.waveSpeed = 0.5; // wave's speed ras.onComplete = function () { ... }; // callback function ras.scroll();