OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <!-- Frame that can be used to initiate dragging of an image. |
| 3 The image fills the frame from (0,0) to (199,199). |
| 4 --> |
| 5 <head> |
| 6 <meta charset="utf-8"> |
| 7 <style> |
| 8 img { |
| 9 position: absolute; |
| 10 top: 0px; |
| 11 left: 0px; |
| 12 width: 200px; |
| 13 height: 200px; |
| 14 border: 0px; |
| 15 margin: 0px; |
| 16 padding: 0px; |
| 17 } |
| 18 </style> |
| 19 <script src="event_monitoring.js"></script> |
| 20 <script> |
| 21 function dragstart_handler(ev) { |
| 22 window.reportDragAndDropEvent(ev); |
| 23 } |
| 24 |
| 25 function dragend_handler(ev) { |
| 26 window.reportDragAndDropEvent(ev); |
| 27 } |
| 28 </script> |
| 29 </head> |
| 30 <body> |
| 31 <img ondragstart="dragstart_handler(event);" |
| 32 ondragend="dragend_handler(event);" |
| 33 src="/accessibility/html/pipe.jpg"> |
| 34 </body> |
OLD | NEW |