Return to Snippet

Revision: 27916
at June 26, 2010 21:52 by cfleschhut


Initial Code
function $(id) { return document.getElementById(id); }
function html(id, html) { $(id).innerHTML = html; }
function css(id, style) { $(id).style.cssText += style; }
function anim(id, transform, opacity, dur) {
    css(id, "-webkit-transition: -webkit-transform, opacity " + (dur||0.5) + "s, " + (dur||0.5) + "s; -webkit-transform: " + transform + "; opacity: " + (opacity||1));
}

Initial URL
http://jsfiddle.net/s73Pu/

Initial Description
via [http://mir.aculo.us/2010/06/04/making-an-ipad-html5-app-making-it-really-fast/](http://mir.aculo.us/2010/06/04/making-an-ipad-html5-app-making-it-really-fast/)

for CSS3 Transitions, Transforms, Animation also see:
[http://css3.bradshawenterprises.com/](http://css3.bradshawenterprises.com/)

Initial Title
mini-pico-tiny convenience micro-framework

Initial Tags
javascript, CSS3

Initial Language
JavaScript