OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>Popup test page</title> | 3 <title>Popup test page</title> |
4 <script type="text/javascript"> | 4 <script type="text/javascript"> |
5 function spawnWindows() { | 5 function spawnWindows() { |
6 window.open('data:text/html,<html><head><title>Popup #1</title></head><b
ody /></html>'); | 6 window.open('navigate/one.html'); |
7 window.open('data:text/html,<html><head><title>Popup #2</title></head><b
ody /></html>'); | 7 window.open('navigate/two.html'); |
8 window.open('data:text/html,<html><head><title>Popup #3</title></head><b
ody /></html>'); | 8 window.open('navigate/three.html'); |
9 } | 9 } |
10 </script> | 10 </script> |
11 </head> | 11 </head> |
12 <body onload="spawnWindows()"> | 12 <body onload="spawnWindows()"> |
13 Spawning three popup windows... | 13 Spawning three popup windows... |
14 </body> | 14 </body> |
15 </html> | 15 </html> |
OLD | NEW |