Html training: Difference between revisions
From XPUB & Lens-Based wiki
|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
| <source lang="html4strict">
| | #REDIRECT [[User:Cihad/Html_training]] |
| It is just <u>a sample</u> <br>
| |
| <img src = "0.jpg" onclick = 'change ()'>
| |
| <!-- <img src = "1.jpg"> <img src = "2.jpg"> <img src = "3.jpg"> <img src = "4.jpg"> <img src = "5.jpg"> <img src = "6.jpg"> <img src = "7.jpg"> <img src = "8.jpg"> <img src = "9.jpg"> <img src = "10.jpg"> <img src = "11.jpg"> <img src = "12.jpg"> <img src = "13.jpg"> <img src = "14.jpg"> <img src = "15.jpg"> <img src = "16.jpg"> <img src = "17.jpg"> <img src = "18.jpg"> <img src = "19.jpg"> <img src = "20.jpg"> -->
| |
| | |
| <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>
| |
Latest revision as of 10:31, 29 September 2014