mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
772440d86c
Regression from b7cc728d63610978dbac37238b00f0e08cf58ddc#L3R102
50 lines
1.3 KiB
HTML
50 lines
1.3 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="popup.html" target="_blank">Classic link</a>
|
|
- target="_blank" link has to be opened in new tab
|
|
</p>
|
|
<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 2</a>
|
|
- with second argument _blank
|
|
</p>
|
|
<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>
|
|
<b>Will be opened in popup window</b>
|
|
<p>
|
|
<a href="javascript:window.open('popup.html', '_blank', 'width=150,height=150')">Popup 4</a>
|
|
- with width and height
|
|
</p>
|
|
<p>
|
|
<a href="javascript:window.open('popup.html', '_blank', 'width=150,height=150,left=15,top=20')">Popup 5</a>
|
|
- with width, height, left and top
|
|
</p>
|
|
<p>
|
|
<a href="javascript:window.open('popup.html', '_blank', 'menubar=yes')">Popup 6</a>
|
|
- with menubar
|
|
</p>
|
|
<p>
|
|
<a href="javascript:window.open('popup.html', '_blank', 'status=yes')">Popup 7</a>
|
|
- with statusbar
|
|
</p>
|
|
<p>
|
|
<p>
|
|
<a href="javascript:window.open('popup.html', '_blank', 'toolbar=yes')">Popup 8</a>
|
|
- with toolbar
|
|
</p>
|
|
<p>
|
|
</body>
|
|
</html>
|