Debian Codegraph @

tests/popupwindows.html

raw
1 <html>
2 <head>
3 <meta http-equiv="content-type" content="text/html; charset=utf-8">
4 <title>Popup windows test</title>
5 </head>
6 <body>
7 <h2>Popup windows test</h2>
8 <b>Will be opened in new tab</b>
9 <p>
10 <a href="popup.html" target="_blank">Classic link</a>
11 - target="_blank" link has to be opened in new tab
12 </p>
13 <p>
14 <a href="javascript:window.open('popup.html')">Popup 1</a>
15 - can be opened in new tab
16 </p>
17 <p>
18 <a href="javascript:window.open('popup.html', '_blank')">Popup 2</a>
19 - with second argument _blank
20 </p>
21 <b>Will be opened in popup window</b>
22 <p>
23 <a href="javascript:window.open('popup.html', '_blank', 'left=100,right=200')">Popup 3</a>
24 - with left and righ
25 </p>
26 <p>
27 <a href="javascript:window.open('popup.html', '_blank', 'width=150,height=150')">Popup 4</a>
28 - with width and height
29 </p>
30 <p>
31 <a href="javascript:window.open('popup.html', '_blank', 'width=150,height=150,left=15,top=20')">Popup 5</a>
32 - with width, height, left and top
33 </p>
34 <p>
35 <a href="javascript:window.open('popupwindows.html', '_blank', 'menubar=yes')">Popup 6</a>
36 - with menubar (popupwindows.html)
37 </p>
38 <p>
39 <a href="javascript:window.open('https://kde.org', '_blank', 'status=yes')">Popup 7</a>
40 - with statusbar (kde.org)
41 </p>
42 <p>
43 <p>
44 <a href="javascript:window.open('form.html', '_blank', 'toolbar=yes')">Popup 8</a>
45 - with toolbar (form.html)
46 </p>
47 <p>
48 </body>
49 </html>