Html training

From XPUB & Lens-Based wiki
Revision as of 17:41, 26 September 2014 by Cihad (talk | contribs)

<source lang="html4strict"> It is just a sample

<script>

var count=0

function change () {

   var x= document.getElementsByTagName ("img")
   count=count+1
   if (count==21) {
       count=0
      }
      x[0].src = count+ ".jpg"

}



</script>