Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>#cookie {z-index: 999999; position: fixed; bottom: 0; left: 0; right: 0; background: #aaddff; padding: 20px; font-size: 14px; font-family: arial;}
- #cookie a.button {cursor: pointer; background: #eee; padding: 8px 20px; margin-left: 10px; border-radius: 5px; color: #333; float: right;}
- #cookie a.button:hover {background-color: #ddd;}
- #cookie p.cookiemessage {display: block; padding: 0; margin: 0;}</style>
- <div id="cookie"><a onClick="var d = new Date(); d = new Date(d.getTime() +1000*60*60*24*730); document.cookie = 'cookie=1; expires='+ d.toGMTString() + ';'; document.getElementById('cookie').style.display = 'none';" class="button">Akzeptieren</a>
- <p class="cookiemessage">Wir verwender Cookies auf unserer Website. Mit der Nutzung erklären Sie sich enverstanden. <a href="https://www.gestickt.de/footeritem.php?item=datenschutz"><b>Mehr Informationen</b></a></p></div>
- <script>var r;a = document.cookie;while(a != ''){while(a.substr(0,1) == ' '){a = a.substr(1,a.length);}cn = a.substring(0,a.indexOf('='));if(a.indexOf(';') != -1){cw = a.substring(a.indexOf('=')+1,a.indexOf(';'));}else{cw = a.substr(a.indexOf('=')+1,a.length);}if(cn == 'cookie'){r = cw;}i = a.indexOf(';')+1;if(i == 0){i = a.length}a = a.substring(i,a.length);}if(r == '1') document.getElementById('cookie').style.display = 'none';</script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement