cockies

Hello, I need some help

someone to make a mini tutorial to insert the code  cockies for my dolphin

Sorry, I'm not developer

grace

<!-- SCRIPT CONTROL DE COOKIES -->

<script type="text/javascript">

function controlcookies() {

         // si variable no existe se crea (al clicar en Aceptar)

    localStorage.controlcookie = (localStorage.controlcookie || 0);

     localStorage.controlcookie++; // incrementamos cuenta de la cookie

    cookie1.style.display='none'; // Esconde la política de cookies

}

</script>

<!--- Codigo para la política de cookies-->

 <style type="text/css">

 /* CSS para la animación y localización de los DIV de cookies */

 @keyframes desaparecer

{

0%{bottom: 0px;}

80%{bottom: 0px;}

100%{bottom: -50px;}

}

@-webkit-keyframes desaparecer /* Safari and Chrome */

{

0%{bottom: 0px;}

80%{bottom: 0px;}

100%{bottom: -50px;}

}

 @keyframes aparecer

{

0%{bottom: -38px;}

10%{bottom: 0px;}

90%{bottom: 0px;}

100%{bottom: -38px;}

}

 @-webkit-keyframes aparecer /* Safari and Chrome */

{

0%{bottom: -38px;}

10%{bottom: 0px;}

90%{bottom: 0px;}

100%{bottom: -38px;}

}

#cookiesms1:target {

    display: none;

}

.cookiesms{

width:100%;

height:43px;

margin:0 auto;

padding-left:1%;

        padding-top:5px;

        font-size: 1.2em;

clear:both;

        font-weight: strong;

color: #7401DF;

bottom:0px;

position:fixed;

left: 0px;

background-color: #FFF;

opacity:0.7;

filter:alpha(opacity=70); /* For IE8 and earlier */

transition: bottom 1s;

-webkit-transition:bottom 1s; /* Safari */

-webkit-box-shadow: 3px -3px 1px rgba(50, 50, 50, 0.56);

-moz-box-shadow:    3px -3px 1px rgba(50, 50, 50, 0.56);

box-shadow:         3px -3px 1px rgba(50, 50, 50, 0.56);

z-index:999999999;

}

 .cookiesms:hover{

bottom:0px;

}

.cookies2{

background-color: #FFF;

display:inline;

opacity:0.95;

filter:alpha(opacity=95);

position:absolute; 

left:1%; 

top:-30px;

font-size:15px;

height:30px;

padding-left:25px;

padding-right:25px;

-webkit-border-top-right-radius: 15px;

-webkit-border-top-left-radius: 15px;

-moz-border-radius-topright: 15px;

-moz-border-radius-topleft: 15px;

border-top-right-radius: 15px;

border-top-left-radius: 15px;

-webkit-box-shadow: 3px -3px 1px rgba(50, 50, 50, 0.56);

-moz-box-shadow:    3px -3px 1px rgba(50, 50, 50, 0.56);

box-shadow:         3px -3px 1px rgba(50, 50, 50, 0.56);

}

 /* Fin del CSS para cookies */

 </style>

<!--Código HTML de la política de cookies -->

 <!--La URL incluida es la parte que se ha de modificar -->

 <div class="cookiesms" id="cookie1">

Esta web utiliza cookies, puedes ver nuestra  <a href="tu-url-donde-explicas-la-politica-de-cookies">la política de cookies, aquí</a> 

Si continuas navegando estás aceptándola

<button onclick="controlcookies()">Aceptar</button>

<div  class="cookies2" onmouseover="document.getElementById('cookie1').style.bottom = '0px';">Política de cookies + </div>

</div>

<script type="text/javascript">

if (localStorage.controlcookie>0){ 

document.getElementById('cookie1').style.bottom = '-50px';

}

</script>

 <!-- Fin del código de cookies --->

Quote · 3 Feb 2015

I think you meant cookies but I'm sure this thread title will get WAY more views.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 3 Feb 2015

Cool lol

Quote · 3 Feb 2015

Yell lol ........ if someone helps me think of my unfitness

Quote · 3 Feb 2015

Yes, when I saw the tittle I thought "cock up" LOL and figured someone was having issues with their site.

You need to give us more information.  If the code can appear site wide, then you can add it to the template.  If it needs to only be on certain pages, then you have to add it to specific files or easier, use one of the injection modules from the market.

Geeks, making the world a better place
Quote · 3 Feb 2015

Tongue Out First thing that came to mind from the title was that falling snow flakes javascript mod people put on their sites at Christmas time. Only instead of snow flakes, tiny, little "cockies" would be falling across the screen.

Quote · 3 Feb 2015

 

Tongue Out First thing that came to mind from the title was that falling snow flakes javascript mod people put on their sites at Christmas time. Only instead of snow flakes, tiny, little "cockies" would be falling across the screen.

Mmmmm ^_^

Geeks, making the world a better place
Quote · 3 Feb 2015

ok this is what happens when you do two things at once lolllll

it is clear that only women have the gift of doing several things at once

 

the issue just want to put the code "cookie" on the main page and ready

Thanks, I see that there are at least humor in the forum and that's OK

positive spirit thanks

Quote · 3 Feb 2015

 

ok this is what happens when you do two things at once lolllll

it is clear that only women have the gift of doing several things at once

 

the issue just want to put the code "cookie" on the main page and ready

Thanks, I see that there are at least humor in the forum and that's OK

positive spirit thanks

Take a look at this: http://www.boonex.com/forums/topic/Different-background-on-homepage-.htm

Geeks, making the world a better place
Quote · 4 Feb 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.