-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
43 lines (39 loc) · 1.12 KB
/
index.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
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>chocolatechip.js</title>
<style>
* {
margin: 0;
padding: 0;
border: 0;
}
body {
background-color: blue;
}
</style>
</head>
<body>
<div style="height: 1000px; background: red;"></div>
<div style="height: 1000px; background: blue;"></div>
<script src="./dist/js/chocolatechip.js"></script>
<script>
ChocolateChip.eat({
language: 'nl_NL',
// Example how to overwrite text
// translations: {
// nl_NL: {
// 'bannerTemplate.text': ' Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
// },
// },
includes: ['userPreferences', 'analytics', 'advertisements'],
privacyPolicyURL: 'http://example.com/privacy-policy',
cookiesSheetURL: 'https://docs.google.com/spreadsheets/d/1U5ZqnbEnjFA1wj1d_ScN6NHMcUgy4QooAjDLQl2cIRA/export?format=csv',
// Example for optional properties
// bannerLayout: 'bottom',
// disableAcceptThroughInteraction: true,
// preferencesDefaultChecked: true,
});
</script>
</body>
</html>