-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (32 loc) · 1018 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="author" content="Beelzebub"/>
<meta name="description" content="Cookie-notice.js DEMO">
</head>
<body>
<script type="text/javascript" src="cookie_notice.js"></script>
<script type="text/javascript">
cookieNotice({
text: {
we_use_cookies: "Мы используем файлы cookie.",
more_details: "Подробнее",
accept: "Принять"
},
more_details_url: "https://ec.europa.eu/info/cookies_en",
colors: {
background: rgb(6, 6, 6),
text_we_use_cookies: rgb(190, 185, 175),
text_more_details: rgb(240, 240, 235),
text_accept: rgb(240, 240, 235),
accept_button: rgb(30, 30, 30),
accept_button_hovered: rgb(210, 10, 10),
},
parent_selector: "body"
});
<!-- or just use cookieNotice(); without arguments if you like default config, also args is optional - script just use default config va;lues for unseted properties -->
</script>
</body>
</head>
</html>