/
photoBrowser.html
116 lines (95 loc) · 1.82 KB
/
photoBrowser.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>PhotoBrowser</title>
<!--
Thanks to Cody Lindley for the original concept.
Adapted to Dojo by Rebecca Murphey http://www.rebeccamurphey.com
with much assistance from Peter Higgins http://www.higginsforpresident.net
-->
<link rel="stylesheet" type="text/css" href="js/dojo/resources/dojo.css" />
<link rel="stylesheet" type="text/css" href="js/dijit/themes/tundra/tundra.css" />
<link rel="stylesheet" type="text/css" href="js/dojox/image/resources/Lightbox.css" />
<style>
html, body {
height:100%;
margin:0;
padding:0;
font-family:Helvetica, Arial, sans-serif;
}
#container {
width:100%;
height:100%;
overflow:visible;
}
#search_terms li {
cursor:pointer;
padding:5px;
}
#toolbar li {
float:left;
margin:0 10px 0 0;
list-style:none;
cursor:pointer;
}
#search_terms li.active {
background-color:blue;
color:#fff;
}
#search_terms li.loading {
background-color:red;
color:#fff;
}
#search_terms li span.remove {
display:block;
float:right;
margin:0 0 0 5px;
}
#results li {
float:left;
margin:0 5px 5px 0;
padding:5px;
height:250px;
width:250px;
list-style:none;
cursor:pointer;
background-color:#f0f0f0;
text-align:center;
vertical-align:middle;
overflow:hidden;
}
#toolbar ul li {
float:left;
margin:0 20px 0 0;
}
#toolbar label {
display:block;
font-weight:bold;
}
#toolbar .slider label {
margin:0 0 6px 0;
}
ul {
margin:0;
padding:0;
}
.dojoxLightboxFooter {
margin-top:5px;
padding:0 10px;
}
</style>
</head>
<body class="tundra">
<div id="container">
<div id="toolbar"></div>
<ul id="search_terms"></ul>
<ul id="results"></ul>
</div>
<script>
var djConfig = { debugAtAllCosts:true };
</script>
<script src="js/dojo/dojo.js"></script>
<script>dojo.require('PhotoBrowser._base');</script>
</body>
</html>