I want to customize the display of my html, using window.open()
. I wrote the code below, and got the output as per the screen shot attached.
My points are:
- I found the window to be
resizable
though i usedresizable=no
- how to hide the
bar title
- How to add my customs title to the form/page, I want to replace the
untitled
byreport
:
var report = window.open('', '_blank', 'title="Report",toolbar=0, top=500,left=500, width=200,height=100,resizable=no,scrollbars=no, menubar=no, location=no, status=no');
report.document.body.innerHTML = text;