User:ThomasW/Protoyping300914

From XPUB & Lens-Based wiki
< User:ThomasW
Revision as of 19:12, 2 October 2014 by ThomasW (talk | contribs)

The idea was to make a website that show a images that gets more glitchy for the more you click on the image.

--> <sc ript> var i = 1 function cha nge () { x= document. getElementsByTagName ("img") x[0].src = "TNMOC_"+i+".jpg" i=i+2 if (i==21) {i=0}; } </scri pt> <im g src = "TNMOC_0.jp g" onclick ='change ()'>