User:ThomasW/Protoyping300914: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "The idea was to make a website that show a images that gets more glitchy for the more you click on the image. <script> var i = 1 function change () { x= document.getElements...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
The idea was to make a website that show a images that gets more glitchy for the more you click on the image.
The idea was to make a website that show a images that gets more glitchy for the more you click on the image.


<script>
[[File: CodeThomasW.jpg | 440px]]
var i = 1
function change () {
x= document.getElementsByTagName ("img")
x[0].src = "TNMOC_"+i+".jpg"
i=i+2
if (i==21) {i=0};
}
</script>
<img src = "TNMOC_0.jpg" onclick ='change ()'> 


[[File:Http://pzwart3.wdka.hro.nl/wiki/File:TNMOC 3.jpg|thumbnail]]
[[File: TNMOC 12.jpg | 440px]]


[[File:Http://pzwart3.wdka.hro.nl/wiki/File:TNMOC 12.jpg|thumbnail]]
[[File: TNMOC 18.jpg | 440px]]
 
[[File:Http://pzwart3.wdka.hro.nl/wiki/File:TNMOC 18.jpg|thumbnail]]

Latest revision as of 19:26, 2 October 2014

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

CodeThomasW.jpg

TNMOC 12.jpg

TNMOC 18.jpg