-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample.html
More file actions
31 lines (29 loc) · 803 Bytes
/
example.html
File metadata and controls
31 lines (29 loc) · 803 Bytes
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
<!doctype html>
<html>
<head>
<title>Envirotech Widget Example</title>
<link rel="stylesheet" type="text/css" href="widget.css">
<style type="text/css">
body {
width: 782px;
margin: 0 auto;
}
</style>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="widget.js"></script>
<script>
var apiKey = document.URL.split('?api_key=')[1];
$(document).ready(function ($) {
$("#example-widget").envirotechWidget({
apiKey: apiKey,
host: 'https://api.govwizely.com'
});
});
</script>
</head>
<body>
<p>Usage: pass your API key to the page via the ?api_key= query parameter.</p>
<div id="example-widget"></div>
<br/><br/>
</body>
</html>