1 2 3 4 5 6 7 8 9
| 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.open();
dataWindow.document.write("<HTML><HEAD><TITLE>Mon 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>");
dataWindow.document.close();
} |
Partager