| <?xml version="1.0" encoding="utf-8"?> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <title>Cross page drag and drop with text/plain data</title> |
| <style type="text/css"> |
| div[ondragstart] |
| {width:40px; |
| min-height:40px; |
| margin-top:20px; |
| padding:40px; |
| color:white; |
| background-color:navy;} |
| </style> |
| </head> |
| <body> |
| <div draggable="true" ondragstart="event.dataTransfer.effectAllowed = 'copy';event.dataTransfer.setData('text/plain','PASS');window.location = '007-1.xhtml'"/> |
| <p>Drag blue box. You should be redirected to the new page and be able to drop it there.</p> |
| </body> |
| </html> |