3 <title>Test Title
</title>
4 <script type=
"text/javascript">
6 // Create a new popup window
7 var oWnd
= window
.open('','MyPopupName','width=350,height=300',false);
9 // Dynamically generate the HTML content for popup window
12 + '<head><title>My Popup Title</title></head>'
14 + '<script type="text/javascript">'
15 + 'document.title="My Dynamic Title";'
20 // Push the HTML into that window
21 oWnd
.document
.write(sHtml
);
24 oWnd
.document
.close();
29 <p>This is dynamic2.html
</p>