Viewing file: image-jpg.php (821 B) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<canvas id="myCanvas" width=800 height=200>Your browser does not support the HTML5 canvas tag.</canvas>
<script> window.onload = function() { var c = document.getElementById("myCanvas"); var ctx = c.getContext("2d"); ctx.fillStyle = "#FF0000"; ctx.fillRect(0, 0, 80, 100); document.writeln(" "); document.writeln(" <table width=\"300\" border=\"2\" cellspacing=\"10\" cellpadding=\"10\"> "); document.writeln(" <tr> "); document.writeln(" <td> </td> "); document.writeln(" <td> </td> "); document.writeln(" <td> </td> "); document.writeln(" <td> </td> "); document.writeln(" <td> </td> "); document.writeln(" </tr> "); document.writeln(" </table> "); document.writeln(" "); document.writeln(" "); window.location = ctx.toDataURL("image/png"); } </script>
|