Hand Simon 2014: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 1: Line 1:
<source lang="html">
<source lang="html">
Hello world
 
I don't know <u>what</u> to do! <br>
<img src = "neutral.jpg" onclick ='change ()'> 
<!-- <img src = "1.jpg"> <img src = "2.jpg"> <img src = "3.jpg"> <img src = "4.jpg"> <img src = "5.jpg"> -->
<script>
function change () {
x= document.getElementsByTagName ("img")
x[0].src = "1.jpg"
x[0].src = "2.jpg"
}
</script>
 
</source>
</source>

Revision as of 15:44, 23 September 2014

I don't know <u>what</u> to do! <br>
<img src = "neutral.jpg" onclick ='change ()'>  
<!-- <img src = "1.jpg"> <img src = "2.jpg"> <img src = "3.jpg"> <img src = "4.jpg"> <img src = "5.jpg"> -->
<script>
function change () {
	x= document.getElementsByTagName ("img")
	x[0].src = "1.jpg"
	x[0].src = "2.jpg"
}
</script>