- add sources.
[platform/framework/web/crosswalk.git] / src / content / test / data / dynamic1.html
1 <html>
2 <head>
3 <title>Test Title</title>
4 <script type="text/javascript">
5 function OpenPopup() {
6     // Create a new popup window
7     var oWnd = window.open('','MyPopupName','width=350,height=300',false);
8
9     // Dynamically generate the HTML content for popup window
10     var sHtml =
11         '<html>'
12             + '<head><title>My Popup Title</title></head>'
13             + '<body></body>'
14         + '</html>';
15
16     // Push the HTML into that window
17     oWnd.document.write(sHtml);
18
19     // Finish
20     oWnd.document.close();
21 }
22 </script>
23 </head>
24 <body>
25   <p>This is dynamic1.html</p>
26 </body>
27 </html>