-
Notifications
You must be signed in to change notification settings - Fork 28
/
flyout.html
28 lines (26 loc) · 1.01 KB
/
flyout.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<link id="siteicon" rel="icon" href="./icon.png"/>
<link rel="stylesheet" href="./panel.css"/>
<title>Demo Status Window</title>
<script src="./panel.js" type="text/javascript"></script>
</head>
<body onload="onLoad()">
<div id="content">
<h3>This window shows some information</h3>
<div>location.hash: <strong id="openValue"></strong></div>
<button onclick="changeSize();">change panel size</button>
<button onclick="window.close()">close panel</button>
<ul>These links should open in tabs:
<li><a href="http://www.mozilla.org" target="_blank">external _blank</a></li>
<li><a href="http://www.mozilla.org" target="_content">external social</a></li>
<li><a href="http://www.mozilla.org">external none</a></li>
<li><a href="http://www.mozilla.org" onclick="window.open(this.getAttribute('href'),'socialtab').focus(); return false;">external onclick</a></li>
</ul>
<div>
<ul id="list" style="margin: 4px"/>
</div>
</div>
</body>
</html>