2013-01-25 19:52:30 +01:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
|
|
<title>Popup windows test</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h2>Popup windows test</h2>
|
|
|
|
<b>Will be opened in new tab</b>
|
|
|
|
<p>
|
2013-01-27 20:49:22 +01:00
|
|
|
<a href="popup.html" target="_blank">Classic link</a>
|
|
|
|
- target="_blank" link has to be opened in new tab
|
|
|
|
</p>
|
|
|
|
<p>
|
2013-01-25 19:52:30 +01:00
|
|
|
<a href="javascript:window.open('popup.html')">Popup 1</a>
|
|
|
|
- can be opened in new tab
|
|
|
|
</p>
|
|
|
|
<p>
|
2013-01-27 20:49:22 +01:00
|
|
|
<a href="javascript:window.open('popup.html', '_blank')">Popup 2</a>
|
2013-01-25 19:52:30 +01:00
|
|
|
- with second argument _blank
|
|
|
|
</p>
|
2013-01-27 20:49:22 +01:00
|
|
|
<p>
|
|
|
|
<a href="javascript:window.open('popup.html', '_blank', 'left=100,right=200')">Popup 3</a>
|
|
|
|
- with left and righ (should be opened as popup, but how to detect it?)
|
|
|
|
</p>
|
2013-01-25 19:52:30 +01:00
|
|
|
<b>Will be opened in popup window</b>
|
|
|
|
<p>
|
2013-01-27 20:49:22 +01:00
|
|
|
<a href="javascript:window.open('popup.html', '_blank', 'width=150,height=150')">Popup 4</a>
|
2013-01-25 19:52:30 +01:00
|
|
|
- with width and height
|
|
|
|
</p>
|
|
|
|
<p>
|
2013-01-27 20:49:22 +01:00
|
|
|
<a href="javascript:window.open('popup.html', '_blank', 'width=150,height=150,left=15,top=20')">Popup 5</a>
|
2013-01-25 19:52:30 +01:00
|
|
|
- with width, height, left and top
|
|
|
|
</p>
|
|
|
|
<p>
|
2013-01-27 20:49:22 +01:00
|
|
|
<a href="javascript:window.open('popup.html', '_blank', 'menubar=yes')">Popup 6</a>
|
2013-01-25 19:52:30 +01:00
|
|
|
- with menubar
|
|
|
|
</p>
|
|
|
|
<p>
|
2013-02-10 14:09:28 +01:00
|
|
|
<a href="javascript:window.open('http://blog.qupzilla.com', '_blank', 'status=yes')">Popup 7</a>
|
|
|
|
- with statusbar (blog.qupzilla.com)
|
2013-01-25 19:52:30 +01:00
|
|
|
</p>
|
|
|
|
<p>
|
2013-01-27 20:49:22 +01:00
|
|
|
<p>
|
2013-02-10 11:17:44 +01:00
|
|
|
<a href="javascript:window.open('form.html', '_blank', 'toolbar=yes')">Popup 8</a>
|
|
|
|
- with toolbar (form.html)
|
2013-01-27 20:49:22 +01:00
|
|
|
</p>
|
|
|
|
<p>
|
2013-01-25 19:52:30 +01:00
|
|
|
</body>
|
|
|
|
</html>
|