forked from lauren/pick-a-color
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.html
57 lines (40 loc) · 1.51 KB
/
sample.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
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="x-ua-compatible" content="IE=10">
<link rel="stylesheet" href="build/dependencies/bootstrap-2.2.2.min.css">
<link rel="stylesheet" href="build/1.1.7/css/pick-a-color-1.1.7.min.css">
<style type="text/css">
div.pick-a-color-markup {
margin:20px 5px;;
}
</style>
</head>
<body>
<input type="text" value="222" name="border-color" class="pick-a-color">
<input type="text" value="aaa" name="font-color" class="pick-a-color">
<input type="text" value="a1beef" name="backgound-color" class="pick-a-color">
<input type="text" value="551033" name="highlight-color" class="pick-a-color">
<input type="text" value="eee" name="contrast-color" class="pick-a-color">
<input type="text" class="pick-a-color">
<input type="text" class="pick-a-color">
<script src="build/dependencies/jquery-1.9.1.min.js"></script>
<script src="build/dependencies/tinycolor-0.9.15.min.js"></script>
<script src="src/js/pick-a-color.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$(".pick-a-color").pickAColor({
showSpectrum : true,
showSavedColors : true,
saveColorsPerElement : true,
fadeMenuToggle : true,
showAdvanced : true,
showBasicColors : true,
showHexInput : true,
allowBlank : true
});
});
</script>
</body>
</html>