|
OLD | NEW |
---|---|
(Empty) | |
1 <html> | |
2 <head> | |
3 <title>Popup created using window.open</title> | |
4 <script> | |
5 function popup(name) { | |
6 window.open("data:text/html,<title>Popup Success!</title>" + | |
7 "you should not see this message if popup blocker is enabled", | |
8 name, "menubar=1, resizable=1, width=350, height=250"); | |
9 } | |
10 | |
11 function test() { | |
12 popup('mywindow'); | |
13 popup('_blank'); | |
14 } | |
15 </script> | |
16 </head> | |
17 <body onload="test()"> | |
18 pop-up test page | |
19 </body> | |
20 </html> | |
OLD | NEW |