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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
|
<?php
?>
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
</head>
<body onLoad="PopUp(); setTimeout(function(){window.close()}, 60000);">
<div id="particles-js"></div>
<script type="text/javascript" src="particles.js"></script>
<script type="text/javascript" src="app.js"></script>
<div class="test" width="100%" height="100%">
<table width="100%" height="100%">
<tbody>
<tr height="80px">
<td class="D">
<div id="countdown">
<div id="countdown-number"></div>
<svg>
<circle r="18" cx="20" cy="20"></circle>
</svg>
</td>
<td class="M"></td>
<td class="G" width="240px"></td>
</tr>
<tr height="400px">
<td class="D"></td>
<td class="M" align="center">
<div class="like">
<img src="https://vignette.wikia.nocookie.net/central/images/6/68/Thumb-up-smiley.png/revision/latest?cb=20150808122703" height="400px">
</div>
</td>
<td class="G" width="240px"></td>
</tr>
<tr height="280px">
<td class="D"></td>
<td class="M">
<div align="center">
<div class="msg">
<h1>Merci</h1>
</div>
</div>
</td>
<td class="G" width="240px"></td>
</tr>
</tbody>
</table>
</div>
<H4>Redirection automatique</H4>
</body>
</html>
<script language="JavaScript">
<!-- Début
tempsFermeture = 30;
// Fermer le PopUp après 10 de secondes?
// Mettre 0 pour ne pas fermer le PopUp
function Debute(URL, WIDTH, HEIGHT) {
propFenetre = "left=50,top=50,width=" + WIDTH + ",height=" + HEIGHT;
pub = window.open(URL, "pub", propFenetre);
if (tempsFermeture) setTimeout("pub.close();", tempsFermeture*1000);
}
function PopUp() {
url = "https://www.facebook.com/";
width = 1500; // largeur du PopUp en pixels
height = 700; // hauteur du PopUp en pixels
delay = 0; // temps en seconde avant louverture du PopUp
timer = setTimeout("Debute(url, width, height)", delay*1000);
}
// Fin -->
</script>
<style type="text/css">
@import url('https://fonts.googleapis.com/css?family=Pattaya');
body{
margin: 0;
padding: 0;
height: 100vh;
overflow: hidden;
}
#particles-js{
height: 100%;
background: #fff;
position: absolute;
z-index: -2;
width: 100%;
height: 100%;
}
.test .D td{
width: 4%;
}
.test .M td{
width: 92%;
}
.test .G td{
width: 4%;
}
.like img{
animation: like 10s infinite;
}
@keyframes like{
0%{
transform: rotate(-10deg);
}
25%{
transform: rotate(10deg);
}
50%{
transform: rotate(-10deg);
}
75%{
transform: rotate(10deg);
}
100%{
transform: rotate(-10deg);
}
}
.msg{
position: relative;
top: 0px;
right: 30px;
font-size: 50px;
font-family: 'Pattaya', sans-serif;
color: #006d9f;
animation: 34s msg;
}
.fleche{
position: relative;
top: -50px;
left: -300px;
}
@keyframes msg{
0%{
font-size: 0;
}
90%{
font-size: 0;
}
100%{
font-size: 50px;
}
}
#countdown {
position: relative;
margin: auto;
margin-top: 0;
height: 40px;
width: 40px;
text-align: center;
}
#countdown-number {
color: #006d9f;
display: inline-block;
line-height: 40px;
}
svg {
position: absolute;
top: 0;
right: 0;
width: 40px;
height: 40px;
transform: rotateY(-180deg) rotateZ(-90deg);
}
svg circle {
stroke-dasharray: 113px;
stroke-dashoffset: 0px;
stroke-linecap: round;
stroke-width: 2px;
stroke: #006d9f;
fill: none;
animation: countdown 60s linear infinite forwards;
}
@keyframes countdown {
from {
stroke-dashoffset: 0px;
}
to {
stroke-dashoffset: 113px;
}
}
</style>
<script type="text/javascript">
var countdownNumberEl = document.getElementById('countdown-number');
var countdown = 60;
countdownNumberEl.textContent = countdown;
setInterval(function() {
countdown = --countdown <= 0 ? 60 : countdown;
countdownNumberEl.textContent = countdown;
}, 1000);
</script> |
Partager