Generador aletatorio de tiras de Gardfield

Lock Lock Lock

function fmt(n) { n = Math.floor(n); if (n 28) day = 28; imgurl = “http://images.ucomics.com/comics/ga/” + fmt(year) + “/ga” + fmt(year % 100) + fmt(month) + fmt(day) + “.gif”; tu = document.getElementById(t[i]); tu.background = imgurl; tu.style.background = “url(” + imgurl + “) ” + -200 * Math.floor(panel) + “px 0px”; } } load();

http://orangecow.org/1morestuff/garfieldrandomizer.html

Contestar a esta entrada

Usted debe iniciar sesión para poder dejar un comentario.