slide(big(main("sly"))); slide(big(main("is a programming system for slides"))); slide(main("it doesn't have to be big, but it is cool")); slide(function() { var x = 0, i = window.setInterval(function() { var msg = "it supports javascript"; big(main(msg.substring(0, x++)))(); if (x > msg.length) window.clearInterval(i); }, 50); }); slide(function() { var x = new window.XMLHttpRequest(); x.onreadystatechange = function() { if (this.readyState == 4) main('a presentation looks like
' + x.responseText + '
')(); }; x.open('GET', 'example.js', true); x.send(null); }); slide(function() { var x = new window.XMLHttpRequest(); x.onreadystatechange = function() { if (this.readyState == 4) main('the source looks like
' + x.responseText + '
')(); }; x.open('GET', 'sly.js', true); x.send(null); }); slide(function() { var x = new window.XMLHttpRequest(); x.onreadystatechange = function() { if (this.readyState == 4) main('the html looks like
' + x.responseText.replace(//g, '>') + '
')(); }; x.open('GET', 'index.html', true); x.send(null); }); slide(big(main("use sly if you're crazy"))); slide(main("(beware, early-morning train code by @tmcw)"));