Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

24
LINES

< > BotCompany Repo | #1013887 // hcookieconsent

JavaX fragment (include)

1  
sS hcookieconsent() {
2  
  ret hStylesheetSnippet(#1014043)
3  
    + hjssnippet(#1014042)
4  
    + [[
5  
<script>
6  
window.addEventListener("load", function(){
7  
window.cookieconsent.initialise({
8  
  "palette": {
9  
    "popup": {
10  
      "background": "#eaf7f7",
11  
      "text": "#5c7291"
12  
    },
13  
    "button": {
14  
      "background": "#56cbdb",
15  
      "text": "#ffffff"
16  
    }
17  
  },
18  
  "content": {
19  
    "message": "Idiotic laws require us to tell you that we use cookies."
20  
  }
21  
})});
22  
</script>
23  
]];
24  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1013887
Snippet name: hcookieconsent
Eternal ID of this version: #1013887/7
Text MD5: 80be81a11395ee272d32c156413628d0
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-25 15:40:25
Source code size: 491 bytes / 24 lines
Pitched / IR pitched: No / No
Views / Downloads: 397 / 417
Version history: 6 change(s)
Referenced in: [show references]