Bonjour,
Voici pour faire un chargement à la Youtube .
Dans Extra.css mettre :
Dans PAGE_CONTAINER ajouter apres la balise </head>:
Voici pour faire un chargement à la Youtube .
Dans Extra.css mettre :
Code:
#progress {position: fixed;
z-index: 100;
top: 0;
left: -6px;
width: 1%;
height: 3px;
background: rgb(226, 46, 49);
border-radius: 1px;
transition: width 500ms ease-out,opacity 400ms linear;
}
Code:
<script>
$(function() {
$("body").append($("<div></div>").attr("id", "progress"));
$("#progress").width((50 + Math.random() * 30) + "%");
});
$(window).load(function() {
$("#progress").width("101%").delay(300).fadeOut(400);
});
</script>