1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00
falkonOfficial/tests/popupwindows.html
nowrep b7cc728d63 Improved PopupWindow + added correspoding tests.
Added menu to popup windows. It is now also possible
to search on page in popup window (Ctrl+F).
2013-01-25 19:52:30 +01:00

41 lines
1.0 KiB
HTML

<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>
<a href="javascript:window.open('popup.html')">Popup 1</a>
- can be opened in new tab
</p>
<p>
<a href="javascript:window.open('popup.html', '_blank')">Popup 1</a>
- with second argument _blank
</p>
<b>Will be opened in popup window</b>
<p>
<a href="javascript:window.open('popup.html', '_blank', 'width=150,height=150')">Popup 1</a>
- with width and height
</p>
<p>
<a href="javascript:window.open('popup.html', '_blank', 'width=150,height=150,left=15,top=20')">Popup 1</a>
- with width, height, left and top
</p>
<p>
<a href="javascript:window.open('popup.html', '_blank', 'left=100,right=200')">Popup 1</a>
- with left and righ
</p>
<p>
<a href="javascript:window.open('popup.html', '_blank', 'menubar=yes')">Popup 1</a>
- with menubar
</p>
<p>
<a href="javascript:window.open('popup.html', '_blank', 'status=yes')">Popup 1</a>
- with statusbar
</p>
<p>
</body>
</html>