<script type="text/javascript" language="Javascript" >
//var winl = (screen.width) ? (screen.width-200)/2 : 0;
//var wint = (screen.height) ? (screen.height-100)/2 : 0;
window.splash = window.open("<%=request.getContextPath()%>/gabarits/splash.html","_blank","width=200,height=100,top=350,left=450");
window.splash.timer=setInterval(function() {
// fonction qui ajoute un "." au contenu d'une DIV ou similaire
window.splash.addTime()
}, 1000)
// Fonction invokée après endTime pour fermer la fenêtre
window.splash.beginClose=function() {
clearInterval(this.timer);
setTimeout(this.close(), 1000);}
</script>
Partager