Sha256: 13b081ad555ae48fda36cd08b0c8a254bbe2c07e27c80f37aca081603ed91486
Contents?: true
Size: 1.49 KB
Versions: 6
Compression:
Stored size: 1.49 KB
Contents
<html> <head> <title> Test page for Images </title> </head> <body> CVS Revision: "$Revision 1.0$" <script> function disableimage(){ if (document.all.disabler_test.disabled==true){ document.all.disabler_test.disabled = false; document.all.disable_img.value = 'Click To Disable'; } else { document.all.disabler_test.disabled = true; document.all.disable_img.value = 'Click To Enable'; } } </script> <br> <br> <table> <tr> <td> <img src = images/triangle.jpg> <td> The triangle only has a src <tr> <td> <img src = images/square.jpg id=square title="square_image"> <td> The square has a src and an id <tr> <td> <img src = images/circle.jpg name = circle> <td> The circle has a src and a name <tr> <td> <img src = images/missing.jpg name = themissingimage> <td> this is a missing image <tr> <td> <img src = images/button.jpg onClick='javascript:document.location="pass.html";' name='disabler_test' > <td> this image has a javascript on click event <br> CLick to make it a disabled image - so the javascript doesnt fire<input type=button value='Click To Disable' onClick='javascript:disableimage();' name=disable_img > <tr> <td> <img src = images/circle.jpg alt="circle"> <td> The circle has a src and an alt text <tr><td> <INPUT onClick= javascript:document.all.text1.value='clicked' type=image src="images/square.jpg" value="Position Show Optional" name=tsogpsb> <td> This is a button as an image, with a value attribute <input type = text name = text1> </body> </html>
Version data entries
6 entries across 6 versions & 2 rubygems