1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| <html>
<head>
</head>
<body>
<script language="JavaScript">
function displayData(){
dataWindow=open('','','toolbar=0,directories=0,menu=0,scrollbars=1,location=0,resizable=1,status=0,top=400,left=300,width=600,height=200,menubar=0,dependent=1,hotkeys=0');
dataWindow.document.write("<HTML><HEAD><TITLE>Titre");
dataWindow.document.write("</TITLE></HEAD><BODY onBlur='window.close();' style='font-family: Arial;'>");
dataWindow.document.write("bla bla bla");
dataWindow.document.write("</BODY></HTML>");
}
</script>
<a href="javascript:displayData()">
test
</a>
</body>
</html> |
Partager