This commit is contained in:
Jerome Morjon 2015-03-24 12:07:25 +01:00
parent 10425889a3
commit 1137efce95
2 changed files with 20 additions and 5 deletions

View File

@ -172,17 +172,28 @@ button.level:active {
height:100px; height:100px;
width:100px; width:100px;
margin:40px; margin:40px;
padding-top : 30px;
cursor:pointer; cursor:pointer;
background-position: center center; background-position: center center;
background-size:cover; background-size:cover;
line-height:100px; line-height:20px;
font-weight:bold; font-weight:bold;
font-size:40px; font-size:18px;
} }
#imgRef:active { #imgRef:active {
cursor:wait; cursor:wait;
} }
.referent:hover
{
-moz-box-shadow: 0px 0px 10px 2px white;
-webkit-box-shadow: 0px 0px 10px 2px white;
-o-box-shadow: 0px 0px 10px 2px white;
box-shadow: 0px 0px 10px 2px white;
filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=10);
}
.trophy-text { .trophy-text {
font-weight: bold; font-weight: bold;
line-height: 40px; line-height: 40px;

View File

@ -52,14 +52,18 @@
function startCounter(event) { function startCounter(event) {
absorbEvent_(event); absorbEvent_(event);
chiffre = 3; chiffre = 3;
imgRef.innerHTML = "Redirection "+chiffre; imgRef.innerHTML = "Redirection <br>"+chiffre;
redirectTimer = setInterval(counter, 1000); redirectTimer = setInterval(counter, 1000);
} }
function counter() { function counter() {
chiffre--; chiffre--;
imgRef.innerHTML = "Redirection "+chiffre; imgRef.innerHTML = "Redirection <br>"+chiffre;
if(chiffre == 0) location.href="{{URL::to('choisirref')}}"; if(chiffre == 0)
{
endCounter(null);
location.href="{{URL::to('choisirref')}}";
}
} }
function endCounter(event) { function endCounter(event) {