-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
51 lines (37 loc) · 890 Bytes
/
options.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
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<title>Open Attribute options page</title>
<style>
html{
font-size:90%;
font-family:Arial, Helvetica, sans-serif;
background-color:#dfdfdf;
}
</style>
</head>
<body>
<div id="wrapper">
<h1>Open Attribute Control Panel</h1>
<form>
<ul>
<li><label for="firstrun">Do you want the instruction page to appear?</label>
<select name="firstrunselect" id="firstrunselect" />
<option value="yes">Yes</option>
<option value="no">No</option>
</select>
</li>
</ul>
</form>
<script>
var firstrunobj = document.getElementById( 'firstrunselect' );
firstrunobj.addEventListener( 'change', function() {
widget.preferences.firstrun_show = this.value;
}, false );
if (widget.preferences.firstrun_show ) {
firstrunobj.value = widget.preferences.firstrun_show;
}
</script>
</div>
</body>
</html>