-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
45 lines (43 loc) · 917 Bytes
/
popup.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!doctype html>
<html>
<head>
<title>Chome Extension Tutorials: Lesson 2 - Popup.html</title>
<style>
body {
min-width: 224px;
overflow-x: hidden;
margin: 10px;
}
input[type="text"] {
width: 66%;
}
input[type="button"] {
width: 30%;
}
img {
border: 1px solid black;
margin: 5px;
vertical-align: middle;
width: 100px;
height: 100px;
}
.searchbox {
margin: 5px;
}
</style>
<!--
- JavaScript and HTML must be in separate files: see our Content Security
- Policy documentation[1] for details and explanation.
-
- [1]: http://developer.chrome.com/extensions/contentSecurityPolicy.html
-->
<script src="scripts/popup.js"></script>
</head>
<body>
<div class="searchbox">
<input type="text" id="searchTerm" value="kitten" />
<input type="button" id="search" value="Search" />
</div>
<div id="results"></div>
</body>
</html>